herozhou / vue-framework-wz

👏vue后台管理框架👏
http://herozhou.coding.me/vue-framework-wz/#/dashboard
MIT License
4.33k stars 1.34k forks source link

npm install 报错 cnpm install通过,但无论cnpm还是npm,run dev时都出错 #76

Open pxchai opened 5 years ago

pxchai commented 5 years ago

D:\000l\vue-framework-wz>npm install npm ERR! code ENOGIT npm ERR! Error while executing: npm ERR! undefined ls-remote -h -t ssh://git@github.com/lpreterite/vue-tinymce.git npm ERR! npm ERR! undefined npm ERR! No git binary found in $PATH npm ERR! npm ERR! Failed using git. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! A complete log of this run can be found in: npm ERR! C:\developtools\nodejs\node_cache_logs\2019-03-27T14_32_02_302Z-debug.log

D:\000l\vue-framework-wz>cnpm install

D:\000l\vue-framework-wz>cnpm run dev

WZ@1.0.0 dev D:\000l\vue-framework-wz node build/dev-server.js

internal/modules/cjs/loader.js:584 throw err; ^

Error: Cannot find module 'json5' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (D:\000l\vue-framework-wz\node_modules_loader-utils@1.2.3@loader-utils\lib\parseQuery.js:3:15 ) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! WZ@1.0.0 dev: node build/dev-server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the WZ@1.0.0 dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-03-27T14_33_01_555Z-debug.log

D:\000l\vue-framework-wz>