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

构建失败 #13

Open
Mackel123 opened this issue Aug 17, 2022 · 2 comments
Open

构建失败 #13

Mackel123 opened this issue Aug 17, 2022 · 2 comments

Comments

@Mackel123
Copy link

构建失败了,提示没有命令
`yarn dev
yarn run

v1.22.19
$ cross-env START_HOT=1 NPM run start-renderer-dev
/bin/sh: line 1: cross-env: command not found
error Command failed with exit code 127.
Info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. yarn build
yarn run v1.22.19
$ NPM run build-all && electron-builder

[email protected] build-all
npm run build-main && npm run build-renderer

[email protected] build-main
webpack --config webpack/webpack.main.prod.config.js

Sh: line 1: webpack: command not found
error Command failed with exit code 127.
Info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`

系统是arch,内核是5.19-arch2-1,桌面环境是bspwm,yarn版本是1.22.19,node版本是v18.7.0

@daihy8759
Copy link
Owner

没有执行yarn install吗

@Mackel123
Copy link
Author

好,我先mark一下

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

2 participants