-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error parsing git format in package.json (pnpm) #3020
Comments
It seems to be related to this paragraph. https://github.com/import-js/eslint-plugin-import/blob/main/src/exportMap/builder.js#L52 I think I need to cut off the fragment in the path? |
I see a '\x00' character in the path variable. Does it make sense? |
I had success with this little patch, it works for me :D It seems the problem comes from P/s: |
It is very very strange to see a null character in any string, especially here. Can you confirm that eslint-import-resolver-typescript is producing that character? If so, please file an issue there. |
Hello, I'm facing the same issues and found some possible causes for this issue(producing a null character). |
Sounds like a new issue on enhanced-resolve is warranted then. |
If package.json has a package installed from git, it will include sha in the path, and this seems to cause an error with the
import/namespace
ruleError
Other information:
eslint-plugin-import version
v2.29.1
The text was updated successfully, but these errors were encountered: