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

error Command "build" not found. #27

Open
jrothschild33 opened this issue May 25, 2022 · 1 comment
Open

error Command "build" not found. #27

jrothschild33 opened this issue May 25, 2022 · 1 comment

Comments

@jrothschild33
Copy link

vuepress-deploy:
yarn run v1.22.5
error Command "build" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

post checkout:
fatal: No url found for submodule path 'docs/.vuepress/dist' in .gitmodules

详细链接:https://github.com/jrothschild33/WebNotebook/runs/6586337059?check_suite_focus=true
请问如何解决呀?

@jrothschild33
Copy link
Author

问题解决了……需要在package.json里写:
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"build": "vuepress build docs"
},
而官方文档只写了:"docs:build": "vuepress build docs",
重要的是写:"build": "vuepress build docs"

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

1 participant