rust-lang / atom-ide-rust

Rust IDE support for Atom, powered by the Rust Analyzer or Rust Language Server
MIT License
259 stars 43 forks source link

Installing “ide-rust@0.22.0-beta.3” failed. #187

Closed tomlin7 closed 3 years ago

tomlin7 commented 3 years ago
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/alexheretic/atom-languageclient.git
npm ERR! enoent 
npm ERR! enoent 
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\billy\.atom\.apm\_logs\2020-11-30T12_16_42_920Z-debug.log

i checked that file:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Users\\billy\\AppData\\Local\\atom\\app-1.53.0\\resources\\app\\apm\\bin\\node.exe',
1 verbose cli   'C:\\Users\\billy\\AppData\\Local\\atom\\app-1.53.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   '--globalconfig',
1 verbose cli   'C:\\Users\\billy\\.atom\\.apm\\.apmrc',
1 verbose cli   '--userconfig',
1 verbose cli   'C:\\Users\\billy\\.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 e2478ae487e44fbf
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://codeload.github.com/rust-lang/atom-ide-rust/legacy.tar.gz/v0.22.0-beta.3 2356ms
8 silly pacote remote manifest for undefined@https://www.atom.io/api/packages/ide-rust/versions/0.22.0-beta.3/tarball fetched in 2537ms
9 timing stage:loadCurrentTree Completed in 2595ms
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 silly fetchPackageMetaData error for atom-languageclient@github:alexheretic/atom-languageclient#build Error while executing:
17 silly fetchPackageMetaData undefined ls-remote -h -t ssh://git@github.com/alexheretic/atom-languageclient.git
17 silly fetchPackageMetaData
17 silly fetchPackageMetaData
17 silly fetchPackageMetaData spawn git ENOENT
18 http fetch GET 200 https://registry.npmjs.org/atom-package-deps 275ms
19 http fetch GET 304 https://registry.npmjs.org/underscore-plus 416ms (from cache)
20 http fetch GET 200 https://registry.npmjs.org/atom-package-deps/-/atom-package-deps-5.1.0.tgz 114ms
21 silly pacote range manifest for underscore-plus@^1.7.0 fetched in 506ms
22 silly resolveWithNewModule underscore-plus@1.7.0 checking installable status
23 silly pacote range manifest for atom-package-deps@^5.1.0 fetched in 522ms
24 silly resolveWithNewModule atom-package-deps@5.1.0 checking installable status
25 http fetch GET 304 https://registry.npmjs.org/toml 523ms (from cache)
26 http fetch GET 200 https://registry.npmjs.org/toml/-/toml-3.0.0.tgz 93ms
27 silly pacote range manifest for toml@^3.0.0 fetched in 645ms
28 silly resolveWithNewModule toml@3.0.0 checking installable status
29 timing stage:rollbackFailedOptional Completed in 1ms
30 timing stage:runTopLevelLifecycles Completed in 3332ms
31 silly saveTree apm-install-dir-20201030-11184-2391ve.4xiri
31 silly saveTree `-- ide-rust@0.22.0-beta.3
31 silly saveTree   +-- atom-package-deps@5.1.0
31 silly saveTree   +-- toml@3.0.0
31 silly saveTree   `-- underscore-plus@1.7.0
32 verbose stack Error: spawn git ENOENT
32 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
32 verbose stack     at onErrorNT (internal/child_process.js:456:16)
32 verbose stack     at processTicksAndRejections (internal/process/task_queues.js:84:9)
33 verbose cwd C:\Users\billy\AppData\Local\Temp\apm-install-dir-20201030-11184-2391ve.4xiri
34 verbose Windows_NT 10.0.19041
35 verbose argv "C:\\Users\\billy\\AppData\\Local\\atom\\app-1.53.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\billy\\AppData\\Local\\atom\\app-1.53.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\billy\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\billy\\.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"
36 verbose node v12.4.0
Saghetti0 commented 3 years ago

Same issue here... Any updates?

JasterV commented 3 years ago

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 ]```
SpencerElggren commented 3 years ago

Same log as JasterV. Any updates on this?