Array-Huang / webpack-seed

这是一个基于webpack的多页应用脚手架
https://segmentfault.com/a/1190000006843916
MIT License
1.19k stars 283 forks source link

npm run start出错 #15

Closed jiayechao closed 7 years ago

jiayechao commented 7 years ago
D:\nodejs\node_modules\node_global\webpack-bundle-analyzer:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)

nodejs:v4.4.6 npm: 2.15.5

Array-Huang commented 7 years ago

未能重现你的这个问题,不过我改了一下利用webpack-bundle-analyzer的方式,应该不会再出这问题了。

传送门