我使用bitbucket管道来部署我的开发分支。 到目前为止一切正常,但是现在我在管道中出错:
- npm安装npm错误! JSON中意外的令牌}的位置为803931,同时在'... ==“ npm ERR! } npm ERR! 'npm ERR!可以在以下位置找到此运行的完整日志:npm 呃! /root/.npm/_logs/2020-11-05T14_19_12_739Z-debug.log
这是我的管道脚本:
image: node:10.15.3
pipelines:
branches:
develop: # develop branch
- step:
deployment: test
caches:
- node
script:
- npm install
- npm install -g @angular/cli
- npm install -g firebase-tools
- ng build