Closed tomlin7 closed 3 years ago
Same issue here... Any updates?
Same here:
npm ERR! prepareGitDep 1>
npm ERR! prepareGitDep > atom-languageclient@0.9.9 prepare /home/jasterv/.atom/.apm/_cacache/tmp/git-clone-0e64897d
npm ERR! prepareGitDep > npm run clean && npm run compile
npm ERR! prepareGitDep
npm ERR! prepareGitDep
npm ERR! prepareGitDep 2> npm WARN install Usage of the `--dev` option is deprecated. Use `--also=dev` instead.
npm ERR! prepareGitDep /usr/share/atom/resources/app/apm/bin/npm: line 8: /usr/share/atom/resources/app/apm/bin/../node_modules/.bin/npm: Permission denied
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 126
npm ERR! prepareGitDep npm ERR! atom-languageclient@0.9.9 prepare: `npm run clean && npm run compile`
npm ERR! prepareGitDep npm ERR! Exit status 126
npm ERR! prepareGitDep npm ERR!
npm ERR! prepareGitDep npm ERR! Failed at the atom-languageclient@0.9.9 prepare script.
npm ERR! prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! prepareGitDep
npm ERR! prepareGitDep npm ERR! A complete log of this run can be found in:
npm ERR! prepareGitDep npm ERR! /home/jasterv/.atom/.node-gyp/.npm/_logs/2021-02-19T02_15_30_920Z-debug.log
npm ERR! prepareGitDep
npm ERR! premature close
npm ERR! A complete log of this run can be found in:
npm ERR! /home/jasterv/.atom/.apm/_logs/2021-02-19T02_15_31_019Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/usr/share/atom/resources/app/apm/bin/node',
1 verbose cli '/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/home/jasterv/.atom/.apm/.apmrc',
1 verbose cli '--userconfig',
1 verbose cli '/home/jasterv/.atom/.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/ide-rust/versions/0.22.0-beta.3/tarball',
1 verbose cli '--target=6.1.12',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using npm@6.14.8
3 info using node@v12.4.0
4 verbose npm-session 14081ff4f1ea17b8
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://codeload.github.com/rust-lang/atom-ide-rust/legacy.tar.gz/v0.22.0-beta.3 1071ms (from cache)
8 silly pacote remote manifest for undefined@https://www.atom.io/api/packages/ide-rust/versions/0.22.0-beta.3/tarball fetched in 1088ms
9 timing stage:loadCurrentTree Completed in 1104ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule ide-rust@0.22.0-beta.3 checking installable status
17 http fetch GET 304 https://registry.npmjs.org/underscore-plus 157ms (from cache)
18 http fetch GET 304 https://registry.npmjs.org/toml 161ms (from cache)
19 http fetch GET 304 https://registry.npmjs.org/atom-package-deps 163ms (from cache)
20 silly pacote range manifest for underscore-plus@^1.7.0 fetched in 165ms
21 silly resolveWithNewModule underscore-plus@1.7.0 checking installable status
22 silly pacote range manifest for toml@^3.0.0 fetched in 168ms
23 silly resolveWithNewModule toml@3.0.0 checking installable status
24 silly pacote range manifest for atom-package-deps@^5.1.0 fetched in 170ms
25 silly resolveWithNewModule atom-package-deps@5.1.0 checking installable status
26 verbose prepareGitDep atom-languageclient@github:alexheretic/atom-languageclient#build: installing devDeps and running prepare script.
27 error prepareGitDep 1>
27 error prepareGitDep > atom-languageclient@0.9.9 prepare /home/jasterv/.atom/.apm/_cacache/tmp/git-clone-0e64897d
27 error prepareGitDep > npm run clean && npm run compile
28 error prepareGitDep 2> npm WARN install Usage of the `--dev` option is deprecated. Use `--also=dev` instead.
28 error prepareGitDep /usr/share/atom/resources/app/apm/bin/npm: line 8: /usr/share/atom/resources/app/apm/bin/../node_modules/.bin/npm: Permission denied
28 error prepareGitDep npm ERR! code ELIFECYCLE
28 error prepareGitDep npm ERR! errno 126
28 error prepareGitDep npm ERR! atom-languageclient@0.9.9 prepare: `npm run clean && npm run compile`
28 error prepareGitDep npm ERR! Exit status 126
28 error prepareGitDep npm ERR!
28 error prepareGitDep npm ERR! Failed at the atom-languageclient@0.9.9 prepare script.
28 error prepareGitDep npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
28 error prepareGitDep
28 error prepareGitDep npm ERR! A complete log of this run can be found in:
28 error prepareGitDep npm ERR! /home/jasterv/.atom/.node-gyp/.npm/_logs/2021-02-19T02_15_30_920Z-debug.log
29 silly fetchPackageMetaData error for atom-languageclient@github:alexheretic/atom-languageclient#build premature close
30 timing stage:rollbackFailedOptional Completed in 1ms
31 timing stage:runTopLevelLifecycles Completed in 6246ms
32 silly saveTree apm-install-dir-2021119-22000-11sv6d0.cr6m
32 silly saveTree └─┬ ide-rust@0.22.0-beta.3
32 silly saveTree ├── atom-package-deps@5.1.0
32 silly saveTree ├── toml@3.0.0
32 silly saveTree └── underscore-plus@1.7.0
33 verbose stack Error: premature close
33 verbose stack at PassThrough.onclose (/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/end-of-stream/index.js:47:67)
33 verbose stack at PassThrough.emit (events.js:205:15)
33 verbose stack at emitCloseNT (internal/streams/destroy.js:68:8)
33 verbose stack at processTicksAndRejections (internal/process/task_queues.js:84:9)
34 verbose cwd /tmp/apm-install-dir-2021119-22000-11sv6d0.cr6m
35 verbose Linux 5.8.0-7642-generic
36 verbose argv "/usr/share/atom/resources/app/apm/bin/node" "/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/jasterv/.atom/.apm/.apmrc" "--userconfig" "/home/jasterv/.atom/.apmrc" "install" "https://www.atom.io/api/packages/ide-rust/versions/0.22.0-beta.3/tarball" "--target=6.1.12" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
37 verbose node v12.4.0
38 verbose npm v6.14.8
39 error premature close
40 verbose exit [ 1, true ]```
Same log as JasterV. Any updates on this?
i checked that file: