Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

执行install出现git相关问题 #2981

Open
KuoCHsiang opened this issue Feb 13, 2020 · 4 comments
Open

执行install出现git相关问题 #2981

KuoCHsiang opened this issue Feb 13, 2020 · 4 comments

Comments

@KuoCHsiang
Copy link

npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj package for fixes and new features!
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/eligrey/FileSaver.js.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 install出现这样问题 难道也要装git环境才可以吗

@Chendamai
Copy link

和你一样的问题啊,你有没有解决,安装了git也没有用

@Chendamai
Copy link

使用cnpm install解决了

@songhanpoo
Copy link

songhanpoo commented Apr 29, 2020

使用cnpm install解决了

Your mean ?

Run npm install cnpm -g
Run npm install 

@szhang6
Copy link

szhang6 commented Jan 27, 2022

Not that. Installing cnpm and then use cnpm install the dependencies. which the last step likes:
cnpm install

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

No branches or pull requests

4 participants