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

关于使用 yarn 出现 npm WARN lifecycle The node binary used for scripts 的错误 #38

Open
QC-L opened this issue Dec 2, 2019 · 0 comments

Comments

@QC-L
Copy link
Owner

QC-L commented Dec 2, 2019

在使用 brew 更新 yarn 时(官方推荐),可能会误安装 node,会致使在使用 yarn 调用 npm 时会爆出如下警告

image

如遇到如下问题,请使用解决:

npm config set scripts-prepend-node-path true
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