-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
[Bug]: Failed to resolve file /node_modules/@cspell/dict-aws/cspell-ext.json #5334
Comments
After I install the |
Thank you for looking into this. The behavior you have seen should not happen. Given that, there was an GitHub outage about the time of the 8.5.0 release today. It is possible that it took a long time for all the packages to get loaded on npmjs. Please try and uninstall and re-install and see if it is still an issue. I tried a clean install on a new version of node and it worked fine. |
I tried reinstalling several times but found that the |
That is frustrating. It feels like you have different versions of CSpell installed. Please try:
The |
Did you happen to run The global config is stored at |
After I remove them from the global config. It seems to work. @Jason3S Thanks a lot, you save me on the weekend! |
I'm happy that was the issue. You can just delete the file. If you have a config sync app, it might have been copied over. |
Hi @Jason3S is there any way to ignore the configuration loading error instead of removing the imported path which are not existing ? It seems the Code Spell Checker in vs code can do that. |
It would require a new command line option. Can you explain why the option is needed? If the error reporting was better, I believe the @recallwei's configuration issue would have been quickly fixed. The extension tries its best to keep working even when there are configuration errors, the is to allowed someone to edit the configuration. |
Hi @Jason3S , I think keep working is also very important for cspell command line. |
In 8.6.0, if you use the option |
Hi @Jason3S It's great. I see the commit. Thanks for your hard work. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Kind of Issue
Crash / Error
Tool or Library
cspell
Version
8.5.0
Supporting Library
Not sure / None
OS
macOS
OS Version
14.3.1
Description
I made sure the dependencies were installed. And after that, seems missing
@cspell/dict-aws/cspell-ext.json
.Steps to Reproduce
run
cspell --no-progress --show-suggestions --show-context **
Expected Behavior
No response
Additional Information
My project is based on pnpm workspace monorepo.
cspell.json
cspell.config.yaml
No response
Example Repository
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: