nuxt-community / starter-template

DEPRECATED: use create-nuxt-app instead
https://github.com/nuxt-community/create-nuxt-app
MIT License
607 stars 330 forks source link

when I exec the command line 'npm run dev', it occurs some error.My vue version is 2.8.3 and node version is v7.5.0 #56

Closed ghost closed 6 years ago

ghost commented 6 years ago

node_modules_nuxt@1.3.0@nuxt\lib\core\module.js:14 async ready() { ^^^^^ SyntaxError: Unexpected identifier at Object.exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:543:28) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (D:\learning\vue\my-nuxt-project\node_modules_nuxt@1.3.0@nuxt\lib\core\index.js:2:16) at Module._compile (module.js:571:32)

This question is available on Nuxt.js community (#c32)
ghost commented 6 years ago

I have solved this problem because node@v7.5.0 is incompatible with nuxt@^1.0.0, expected node@>=8.0.0 (node@version=7.5.0 => nuxt@0.10.6 )