-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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] "ERR! must provide string spec" when running "npm install" #2843
Comments
Hey @neyb I saw the issue you related. Are you able to fix it just by adding |
Hi the problem I encounter was related to a default option not being applied. While it could be the origin of the big you encounter, then the workaround wouldn't work in your case |
Looking at the code make me think npm does not find the spec (version) of a dependency. In which case the problem is probably not default options. |
I believe this PR may fix the issue: #2834 If you define a publishConfig, it pushes the defaults out the window, that PR makes sure all publishConfigs (including the defualts) are represented in the final opts that are generated. |
This should be fixed in v7.7.0. The publishConfig is now being consolidated properly |
Current Behavior:
When I run "npm install" in one specific project, I get the message:
The log file:
Expected Behavior:
The instalation happens normaly
Steps To Reproduce:
I'm running the command with a fresh install of node and npm. It works well in other projects.
Environment:
The text was updated successfully, but these errors were encountered: