➜ 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
详细命令参考以下文档:
异步加载js文件和其他依赖的js文件loading js files and other dependent js files asynchronously(异步加载js文件和其他依赖的js文件)
在 Node.js 中,我如何“包含"?我的其他文件中In Node.js, how do I quot;includequot; functions from my other files?(在 Node.js 中,我如何“包含?我的其他文件中的功能?)
Electron webContents executeJavaScript:无法在第二个 loaElectron webContents executeJavaScript : Cannot execute script on second on loadURL(Electron webContents executeJavaScript:无法在第二个 loadURL 上
将 console.log() 与电子一起使用using console.log() with electron(将 console.log() 与电子一起使用)
JavaScript (node.js) 中的 {app, BrowserWindow} 是什么意思What does {app, BrowserWindow} means in JavaScript (node.js)?(JavaScript (node.js) 中的 {app, BrowserWindow} 是什么意思?)
npm:在 Electron 应用程序中执行命令时找不到命令npm: command not found when executing commands in Electron app(npm:在 Electron 应用程序中执行命令时找不到命令)