I started my first Nuxt project via:
$ vue init nuxt-community/starter-template nuxt-demo
then install the dependencies:
and launch the project with:
$ npm run dev
but the application can't get started with the following errors:
D:\demo\nuxt-ssr-demo\node_modules\nuxt\lib\core\module.js:14
async ready() {
^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:78: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:\demo\nuxt-ssr-demo\node_modules\nuxt\lib\core\inde
x.js:2:16)
at Module._compile (module.js:571:32)
I don't know why. please help me fixed this problem, thx so much!
This question is available on Nuxt.js community (#c40)
I started my first Nuxt project via: $ vue init nuxt-community/starter-template nuxt-demo
then install the dependencies: and launch the project with: $ npm run dev
but the application can't get started with the following errors:
D:\demo\nuxt-ssr-demo\node_modules\nuxt\lib\core\module.js:14 async ready() { ^^^^^ SyntaxError: Unexpected identifier at Object.exports.runInThisContext (vm.js:78: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:\demo\nuxt-ssr-demo\node_modules\nuxt\lib\core\inde
x.js:2:16)
at Module._compile (module.js:571:32)
I don't know why. please help me fixed this problem, thx so much!