问题有三个哈 第一个, npm i miniprogram-ci 太久了, 是不是要把构建的单独写成一个项目 第二个 把miniprogram-ci放在项目下 会解析miniprogram-ci 这个包的依赖,这个有个子包不能被解析导致报错 parse js file (D:/mine-demo/miniappx/node_modules/qrcode-terminal/lib/main.js) failed: Octal literal in strict mode (3:13) 第三个, 我把miniprogram-ci 另起一个项目, 然后projectPath 填 绝对路径 /mine-demo/miniappx,但是他会构建 miniprogram-ci这个项目下的node_modules。 "miniprogram-ci": "^1.9.8"
miniprogram-ci报错__NO_NODE_MODULES__ NPM09:57:37 Error: __NO_NODE_MODULES__ NPM packages not found. Please confirm npm packages which need to build are belong to `miniprogramRoot` directory. Or you may edit project.config.json's `packNpmManually` and `packNpmRelationList` 09:57:37 at Object.packNpm (/Users/liming/jenkins/jenkins/workspace/test-monorepo-mini/property-sales/node_modules/miniprogram-ci/dist/utils/npm/packnpm.js:1:13029) 09:57:37 at async /Users/liming/jenkins/jenkins/workspace/test-monorepo-mini/property-sales/deploy.js:37:33
01-11