第一次用云效流水线 构建NODE.JS项目,命令:cnpm i npm run build:test 遇到以下问题:
[17:13:19] /usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/npa.js:20
[17:13:19] throw newError;
[17:13:19] ^
[17:13:19]
[17:13:19] Error: Unsupported URL Type “build:”: build:test package: root › build:test
[17:13:19] at npa (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/npa.js:18:22)
[17:13:19] at exports.parsePackageName (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/alias.js:6:13)
[17:13:19] at Object. (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js:159:7)
[17:13:19] at Module._compile (node:internal/modules/cjs/loader:1155:14)
[17:13:19] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
[17:13:19] at Module.load (node:internal/modules/cjs/loader:1033:32)
[17:13:19] at Function.Module._load (node:internal/modules/cjs/loader:868:12)
[17:13:19] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
[17:13:19] at node:internal/main/run_main_module:22:47 {
[17:13:19] code: ‘EUNSUPPORTEDPROTOCOL’
[17:13:19] }
[17:13:19] [ERROR] BUILD ERROR
[17:13:19] [ERROR] 154436299
[17:13:19] [ERROR] 1