dragonation / wechat-devtools

Wechat Dev Tools on Linux GNOME
MIT License
193 stars 25 forks source link

执行 tools/rebuild-node-modules 时报错 #38

Open liushuai05 opened 3 years ago

liushuai05 commented 3 years ago
> nodegit@0.27.0 install ~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/nodegit
> node lifecycleScripts/preinstall && node lifecycleScripts/install

[nodegit] Running pre-install script
[nodegit] Running install script
node-pre-gyp
WARN Using request for node-pre-gyp https download
[nodegit] Success: "~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/nodegit/build/Release/nodegit.node" is installed via remote
[nodegit] Completed installation successfully.

> node-pty@0.10.0 postinstall ~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/node-pty
> node scripts/post-install.js

> nodegit@0.27.0 postinstall ~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/nodegit
> node lifecycleScripts/postinstall

> vscode-ripgrep@1.11.2 postinstall ~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/vscode-ripgrep
> node ./lib/postinstall.js

(node:13419) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGINT listeners added to [process]. Use emitter.setMaxListeners() to increase limit
Finding release for v12.1.1-4
GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v12.1.1-4
Deleting invalid download cache
Downloading ripgrep failed: Error: Request failed: 403
    at ClientRequest.<anonymous> (~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/node_modules/vscode-ripgrep/lib/download.js:131:24)
    at Object.onceWrapper (events.js:291:20)
    at ClientRequest.emit (events.js:203:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:23)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:116:17)
    at TLSSocket.socketOnData (_http_client.js:452:22)
    at TLSSocket.emit (events.js:203:13)
    at addChunk (_stream_readable.js:294:12)
    at readableAddChunk (_stream_readable.js:275:11)
    at TLSSocket.Readable.push (_stream_readable.js:210:10)
npm WARN enoent ENOENT: no such file or directory, open '~/Downloads/wechat-devtools-1.03.2009140-compact/package.nw/node_modules_tmp/package.json'
npm WARN node_modules_tmp No description
npm WARN node_modules_tmp No repository field.
npm WARN node_modules_tmp No README data
npm WARN node_modules_tmp No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vscode-ripgrep@1.11.2 postinstall: `node ./lib/postinstall.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the vscode-ripgrep@1.11.2 postinstall 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!     /home/liushuai/.npm/_logs/2021-03-03T06_47_05_968Z-debug.log
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./extract-file-icon/build/Release/obj.target/addon.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./native-keymap/build/Release/obj.target/keymapping.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./native-watchdog/build/Release/obj.target/watchdog.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./oniguruma/build/Release/obj.target/onig_scanner.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./oniguruma-node/build/Release/obj.target/onig_scanner.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./spdlog/build/Release/obj.target/spdlog.node': No such file or directory
cp: cannot create regular file '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules/./spdlog-node/build/Release/obj.target/spdlog.node': No such file or directory
cp: cannot stat '~/Downloads/wechat-devtools-1.03.2009140-compact/tools/../package.nw/node_modules_tmp/node_modules/vscode-ripgrep/bin/rg': No such file or directory`