[Nuxt3] [npm run dev] Unexpected token '.'
See original GitHub issueEnvironment
[VM - centos@localhost nuxt3]$ npx nuxi info
Nuxt CLI v3.0.0-27234175.2fb58ae 17:21:43
ERROR Unexpected token '.' 17:21:43
at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
at async link (internal/modules/esm/module_job.js:42:21)
Describe the bug and expected behavior
> npm run dev
Nuxt CLI v3.0.0-27234175.2fb58ae 17:31:59
ERROR Unexpected token '.' 17:31:59
at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
Steps to reproduce
npx nuxi init nuxt3-app
cd nuxt3-app
npm install
npm run dev
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
nuxt.js - Nuxt3 Unexpected token '||='
I have problem when i use this command npm run dev. or npx nuxi dev.
Read more >at loader.modulestrategy (internal/modules/esm/translators ...
Cannot use JSX with nodejs ESM module loader - Stack Overflow ... nuxt/framework[Nuxt3] [npm run dev] Unexpected token '.'#793. Created about 1 year...
Read more >FATAL Unexpected token export during npm run dev-Vue.js
Coding example for the question NUXT: FATAL Unexpected token export during npm run dev-Vue.js.
Read more >How to fix Nuxt.js unexpected token export error - YouTube
Setting up Nuxt.js is a pretty straightforward process but I hit at least one snag. Here's how I got around an issue I...
Read more >Creating Server-side Rendered Vue.js Apps Using Nuxt.js
Then we just need to install dependencies and run the server: cd my-nuxt-project npm install # Or yarn npm run dev. There we...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Node 12 is not supported. Please upgradeto Latest LTS (https://nodejs.org/en/)
Have the same issue in an action on Github running ubuntu 20.04.3 and node 14.15.0.
Deploying on my Macbook locally to wrangler works perfect.