0
点赞
收藏
分享

微信扫一扫

yarn install info No lockfile found

小月亮06 2022-09-13 阅读 173


问题内容:

➜  vue-next git:(fe853a5a) npm install yarn -g

changed 1 package in 679ms
➜ vue-next git:(fe853a5a) yarn install
yarn install v1.22.17
info No lockfile found.
$ node ./scripts/preinstall.js
This repository requires using pnpm as the package manager for scripts to work properly.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

问题解决:

yarn install --ignore-scripts

详细命令操作查看
​​​https://classic.yarnpkg.com/en/docs/cli/install​​


举报

相关推荐

0 条评论