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

npm install 报错的小伙伴看过来 #79

Open
Marscarm opened this issue Dec 23, 2021 · 13 comments
Open

npm install 报错的小伙伴看过来 #79

Marscarm opened this issue Dec 23, 2021 · 13 comments

Comments

@Marscarm
Copy link

如果你npm install报错,提示

  • gyp err xxx
  • gyp verb could not find "python"
  • ……

解决办法:删除package.json中的以下两条

  • "node-sass": "^4.7.2",
  • "sass-loader": "^6.0.6",

然后重新npm install即可

@skyywj
Copy link

skyywj commented Dec 23, 2021 via email

@roudoukou
Copy link

Thanks, this helped me

@skyywj
Copy link

skyywj commented Jan 11, 2023 via email

@zhangruhong
Copy link

zhangruhong commented Jan 11, 2023 via email

@ArrowSaul
Copy link

它提示我需要python2.x为啥,你这个解决了

@zhangruhong
Copy link

zhangruhong commented Jan 3, 2024 via email

@skyywj
Copy link

skyywj commented Jan 3, 2024 via email

@625erchuang
Copy link

可以,这很有效

@zhangruhong
Copy link

zhangruhong commented Mar 27, 2024 via email

@625erchuang
Copy link

625erchuang commented Mar 27, 2024 via email

@xuxiaofan1203
Copy link

我把"node-sass": "^4.7.2" 版本改为4.14.1也能解决,注意nodejs也得用14版本的

@skyywj
Copy link

skyywj commented Jun 10, 2024 via email

@625erchuang
Copy link

625erchuang commented Jun 10, 2024 via email

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

7 participants