Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError in linting due to unresolved module path in lit-helpers #2681

Open
Farzannajipour opened this issue Jun 8, 2023 · 1 comment

Comments

@Farzannajipour
Copy link

Farzannajipour commented Jun 8, 2023

Expected behavior

I expected the linting process to run without any errors and successfully validate the codebase.

Actual Behavior

When running npm run lint, I encountered the following errors related to unresolved module paths:

  • In packages/lit-helpers/index.js:

      Line 2, Column 15: Unable to resolve path to module './src/spread.js' (import/no-unresolved)
    
  • In packages/lit-helpers/test-web/spread.test.js:

     Line 3, Column 10: 'spread' not found in '../index.js' (import/named)
     Line 3, Column 18: 'spreadProps' not found in '../index.js' (import/named)
     Line 3, Column 31: 'spreadEvents' not found in '../index.js' (import/named)
    

These errors prevent the linting process from completing successfully.

@Westbrook
Copy link
Contributor

Can you confirm that you ran the TS build first?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants