I am utilizing the following technologies:
Node.js version 6.14.2
NPM version 6.0.1
Ubuntu 16.04
Whenever I attempt to execute a project, I encounter the following error message:
npm run dev
node_modules/nuxt/lib/core/module.js:14
async ready() {
^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/ostap/Стільниця/vue-photogram/node_modules/nuxt/lib/core/index.js:2:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e7919282ca978f8893888095868aa7d6c9d7c9d7">[email protected]</a> dev: `nuxt`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1d6b6878306d757269727a6f7c705d2c332d332d">[email protected]</a> dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ostap/.npm/_logs/2018-05-16T16_35_55_903Z-debug.log
Could you please advise on why this issue is occurring and how it can be resolved?