-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
Description
I have upgrade recently vue-cli to get the latest version but I can't create a new project.
I use npm version 2.14.4
and node version 0.12.7
$ vue init
/usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/lib/index.js:190
Metalsmith.prototype.build = unyield(function*(){
^
SyntaxError: Unexpected token *
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 Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/usr/local/lib/node_modules/vue-cli/node_modules/metalsmith/index.js:6:18)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
did you know how can I fix this ?
I think this an error with the Metalsmith who use ES6 and maybe we need to add Harmonize
see this issue metalsmith/metalsmith#151
-- EDIT --
I have replace Metalsmith dependency ^2.1.0 with ^1.7.0 to fix this but it's not good solution for me.
see https://www.npmjs.com/package/metalsmith#using-nodejs-012x