SuperJolly / wxapp-little-shelf

220 stars 109 forks source link

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

Open Charlemagnescl opened 5 years ago

Charlemagnescl commented 5 years ago

如题,错误代码如下: `D:\datum\project\project for We\wxapp-little-shelf-master\wxapp-little-shelf-master\server>npm install && npm start //上面是命令行代码,下面是cmd报错信息 npm WARN deprecated jade@1.11.0: Jade has been renamed to pug, please install the latest version of pug instead of jade npm WARN deprecated constantinople@3.0.2: Please update to at least constantinople 3.1.1 npm WARN deprecated transformers@2.1.0: 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://git@github.com/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 commented 5 years ago

使用cnpm install 安装