Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Installing “[email protected]” failed. #187

Closed
tomlin7 opened this issue Nov 30, 2020 · 3 comments · Fixed by #194
Closed

Installing “[email protected]” failed. #187

tomlin7 opened this issue Nov 30, 2020 · 3 comments · Fixed by #194

Comments

@tomlin7
Copy link

tomlin7 commented Nov 30, 2020

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://[email protected]/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 [email protected]
3 info using [email protected]
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 [email protected] 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://[email protected]/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 [email protected] checking installable status
23 silly pacote range manifest for atom-package-deps@^5.1.0 fetched in 522ms
24 silly resolveWithNewModule [email protected] 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 [email protected] 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 `-- [email protected]
31 silly saveTree   +-- [email protected]
31 silly saveTree   +-- [email protected]
31 silly saveTree   `-- [email protected]
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
Copy link

Same issue here... Any updates?

@JasterV
Copy link

JasterV commented Feb 19, 2021

Same here:

npm ERR! prepareGitDep 1> 
npm ERR! prepareGitDep > [email protected] 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! [email protected] 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 [email protected] 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
  • Log File:
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 [email protected]
3 info using [email protected]
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 [email protected] 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 [email protected] checking installable status
22 silly pacote range manifest for toml@^3.0.0 fetched in 168ms
23 silly resolveWithNewModule [email protected] checking installable status
24 silly pacote range manifest for atom-package-deps@^5.1.0 fetched in 170ms
25 silly resolveWithNewModule [email protected] 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 > [email protected] 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! [email protected] 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 [email protected] 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 └─┬ [email protected]
32 silly saveTree   ├── [email protected]
32 silly saveTree   ├── [email protected]
32 silly saveTree   └── [email protected]
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
Copy link

Same log as JasterV. Any updates on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants