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

在server目录下运行npm install && npm start出现报错 #5

Open
Charlemagnescl opened this issue Aug 2, 2019 · 1 comment
Open

Comments

@Charlemagnescl
Copy link

如题,错误代码如下:
`D:\datum\project\project for We\wxapp-little-shelf-master\wxapp-little-shelf-master\server>npm install && npm start
//上面是命令行代码,下面是cmd报错信息
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to at least constantinople 3.1.1
npm WARN deprecated [email protected]: Deprecated, use jstransformer
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://[email protected]/mysqljs/mysql.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\brook\AppData\Roaming\npm-cache_logs\2019-08-02T09_42_17_047Z-debug.log`

不知道是不是我安装node.js出了问题还是什么,反正很苦恼,希望老师能抽出一点时间来帮忙解决这个问题。
ps:不会用issue的插入代码功能,见谅……

@jiangfeng0205
Copy link

使用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

2 participants