管理成员
- 注册
- 2021/12/28
- 消息
- 1,238
- 主题 作者
- #1
Node.js v18.16.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
这里怎么解决?看你的视频教程 也是出错 后来是怎么解决的
node node_modules/esbuild/install.js
这条命令在哪运行?网站根目录 运行node node_modules/esbuild/install.js 然后再运行 yarn dev yarn build?代码:node node_modules/esbuild/install.js
这个
node node_modules/esbuild/install.js
[esbuild] Failed to find package "@esbuild/linux-arm64" on the file system
This can happen if you use the "--no-optional" flag. The "optionalDependencies"
package.json feature is used by esbuild to install the correct binary executable
for your current platform. This install script will now attempt to work around
this. If that fails, you need to remove the "--no-optional" flag to use esbuild.