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

node modules #5

Open
monvhh opened this issue Mar 29, 2022 · 1 comment
Open

node modules #5

monvhh opened this issue Mar 29, 2022 · 1 comment

Comments

@monvhh
Copy link
Owner

monvhh commented Mar 29, 2022

问题:终端显示 N/A: version "N/A -> N/A" is not yet installed

$ nvm install 'lts/*'

https://stackoverflow.com/questions/49449719/nvm-n-a-version-n-a-n-a-is-not-yet-installed

@monvhh
Copy link
Owner Author

monvhh commented Mar 29, 2022

清除全局无用node_modules
npm ls -g有很多,首先确认node版本
切不同版本node,对应全局module不同

然后:
https://www.npmjs.com/package/npm-check

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

1 participant