Vuepress构建和部署Github操作“ ELIFECYCLE”错误权限被拒绝以用于“ build vuepress”

时间:2020-08-24 22:35:15

标签: npm build github-actions vuepress

尝试使用https://docs.microsoft.com/en-us/azure/static-web-apps/publish-vuepress上的说明通过Github操作构建和部署基本的vuepress应用。但是,它在“构建和部署”脚本中失败,抛出以下错误。该项目在我的本地计算机上构建良好。知道如何减轻这个问题吗?

Running 'npm run build'...


> static-site@1.0.0 build /github/workspace
> vuepress build

sh: 1: vuepress: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! static-site@1.0.0 build: `vuepress build`
npm ERR! Exit status 126
npm ERR! 
npm ERR! Failed at the static-site@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /github/home/.npm/_logs/2020-08-21T20_28_37_948Z-debug.log


---End of Oryx build logs---
Oryx has failed to build the solution.

For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a Github issue at https://github.com/azure/static-web-apps/issues/
Exiting

0 个答案:

没有答案