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

package-lock.json文件有问题 安装不了依赖 #2

Open
bygsn opened this issue Apr 20, 2023 · 0 comments
Open

package-lock.json文件有问题 安装不了依赖 #2

bygsn opened this issue Apr 20, 2023 · 0 comments

Comments

@bygsn
Copy link

bygsn commented Apr 20, 2023

一个包需要 node: '0.10 || 0.12 || 4 || 5 || 6 || 7 || 8' 另外一个需要 "^10 || ^12 || >=14". Got "8.0.0"
解决方法:

  1. 把package-lock.json文件和node_modules文件夹删掉
  2. 使用华为镜像云重新安装
    npm i --registry=https://mirrors.huaweicloud.com/repository/npm/
    安装成功!
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