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

Cannot install the package #159

Closed
yoanndw opened this issue May 11, 2020 · 3 comments
Closed

Cannot install the package #159

yoanndw opened this issue May 11, 2020 · 3 comments

Comments

@yoanndw
Copy link

yoanndw commented May 11, 2020

Hello, I'm trying to install (using both UI and command line) this package, but I get this error :

npm ERR! prepareGitDep 1> 
npm ERR! prepareGitDep > atom-languageclient@0.9.9 prepare C:\Users\yoann\.atom\.apm\_cacache\tmp\git-clone-79447afc
npm ERR! prepareGitDep > npm run clean && npm run compile
npm ERR! prepareGitDep 
npm ERR! prepareGitDep 
npm ERR! prepareGitDep > atom-languageclient@0.9.9 clean C:\Users\yoann\.atom\.apm\_cacache\tmp\git-clone-79447afc
npm ERR! prepareGitDep > rm -rf build
npm ERR! prepareGitDep 
npm ERR! prepareGitDep 
npm ERR! prepareGitDep 2> npm WARN install Usage of the `--dev` option is deprecated. Use `--only=dev` instead.
npm ERR! prepareGitDep 'rm' n'est pas reconnu en tant que commande interne
npm ERR! prepareGitDep ou externe, un programme ex�cutable ou un fichier de commandes.
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 1
npm ERR! prepareGitDep npm ERR! atom-languageclient@0.9.9 clean: `rm -rf build`
npm ERR! prepareGitDep npm ERR! Exit status 1
npm ERR! prepareGitDep npm ERR! 
npm ERR! prepareGitDep npm ERR! Failed at the atom-languageclient@0.9.9 clean 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!     C:\Users\yoann\AppData\Roaming\npm-cache\_logs\2020-05-11T06_46_47_321Z-debug.log
npm ERR! prepareGitDep npm ERR! code ELIFECYCLE
npm ERR! prepareGitDep npm ERR! errno 1
npm ERR! prepareGitDep npm ERR! atom-languageclient@0.9.9 prepare: `npm run clean && npm run compile`
npm ERR! prepareGitDep npm ERR! Exit status 1
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!     C:\Users\yoann\AppData\Roaming\npm-cache\_logs\2020-05-11T06_46_47_386Z-debug.log
npm ERR! prepareGitDep 
npm ERR! premature close

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

I searched on the Internet, and found this : https://discuss.atom.io/t/unable-to-install-packages-through-atom-or-shell/58324 ; but I got the same error after typing npm install. I also found the issue #132 ; but there is no information to fix it.

However, I can install other Rust packages, so the issue may come from this one.

@alexheretic
Copy link
Member

Looks like you don't have the rm command that the atom-languageclient fork uses to build. You're on Windows I assume? There's an upstream pr for this: atom/atom-languageclient#276

I'll try adding this patch to the fork.

@alexheretic
Copy link
Member

Can you retry with 0.22.0-beta.2?

@yoanndw
Copy link
Author

yoanndw commented May 11, 2020

Thank you ! I followed the issue atom/atom-languageclient#275, and now it works !

@yoanndw yoanndw closed this as completed May 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants