本文主要是介绍yarn install info No lockfile found,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
问题内容:
➜ vue-next git:(fe853a5a) npm install yarn -gchanged 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
这篇关于yarn install info No lockfile found的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!