小编Vig*_*Ram的帖子

vsce 发布失败 - 使用 pnpm/yarn 的 VS Code 扩展

版本:

  • vsce 版本 1.71.0
  • 节点版本 v10.15.3
  • npm 版本 6.4.1

vsce 发布失败并显示以下消息:

正在执行预发布脚本“npm run vscode:prepublish”...

sfdx-command-builder@0.1.0 vscode:prepublish C:\Projects\VS Code Extensions\sfdx-command-builder
npm runco​​mpile

sfdx-command-builder@0.1.0 编译 C:\Projects\VS Code Extensions\sfdx-command-builder
tsc -p ./

错误命令失败:npm list --生产 --parseable --深度 = 99999 npm 错误!缺失:mkdirp@0.5.1,node-pre-gyp@0.14.0 npm 需要,错误!缺失:minimist@0.0.8,mkdirp@0.5.1 npm 需要,错误!缺少:minimatch@3.0.4,由ignore-walk@3.0.3 npm ERR要求!缺少:brace-expansion@1.1.11,minimatch@3.0.4 npm 需要,错误!缺少:balanced-match@1.0.0,brace-expansion@1.1.11 需要 npm 错误!缺失:concat-map@0.0.1,brace-expansion@1.1.11 需要 npm 错误!缺少:console-control-strings@1.1.0,npmlog@4.1.2 需要 npm 错误!缺失:继承@2.0.4,可读流@2.3.6 npm 所需的错误!缺少:safe-buffer@5.1.2,可读-stream@2.3.6 npm 需要,错误!缺少:safe-buffer@5.1.2,string_decoder@1.1.1 需要 npm 错误!缺少:console-control-strings@1.1.0,gauge@2.7.4 npm 需要,错误!缺少:string-width@1.0.2,gauge@2.7.4 需要 npm 错误!缺少:strip-ansi@3.0.1,gauge@2.7.4 npm 需要,错误!缺少:code-point-at@1.1.0,string-width@1.0.2 npm 需要的错误!缺少:is-fullwidth-code-point@1.0.0,string-width@1.0.2 npm 需要,错误!缺少:strip-ansi@3.0.1,string-width@1.0.2 npm 所需的错误!缺少:number-is-nan@1.0.1,is-fullwidth-code-point@1.0.0 npm 需要,错误!缺少:ansi-regex@2.1.1,strip-ansi@3.0.1 npm 需要,错误!缺少:string-width@1.0.2,wide-align@1.1.3 npm …

vscode-extensions yarnpkg pnpm yarn-v2

4
推荐指数
1
解决办法
2035
查看次数

标签 统计

pnpm ×1

vscode-extensions ×1

yarn-v2 ×1

yarnpkg ×1