本文共 920 字,大约阅读时间需要 3 分钟。
D:initUser20190315renren-fast-vue-masternode_moduleswebpack-dev-serve
ebpack-dev-server.js:8const fs = require('fs');^^^^^SyntaxError: Use of const in strict mode.at exports.runInThisContext (vm.js:73:16)at Module._compile (module.js:443:25)at Object.Module._extensions..js (module.js:478:10)at Module.load (module.js:355:32)at Function.Module._load (module.js:310:12)at Function.Module.runMain (module.js:501:10)at startup (node.js:129:16)at node.js:814:3
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\nodejs\\node.exe" "C:\Programx86)\nodejs\node_modules\npm\bin\npm-cli.js" "run" "dev"npm ERR! node v0.12.2npm ERR! npm v2.7.4npm ERR! code ELIFECYCLEnpm ERR! renren-fast-vue@1.2.2 dev: `webpack-dev-server --inline --progrenfig build/webpack.dev.conf.js`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the renren-fast-vue@1.2.2 dev script 'webpack-dev-serv原因:node.js版本过低,升级到项目支持的版本。
转载地址:http://utyto.baihongyu.com/