SyntaxError: /.nuxt/nuxt-icons.js: Unexpected token, expected "," (93:1387)

siberiadev
5
siberiadev
commented a year ago

Version

2.7.2

Reproduction link

http://link.re

Steps to reproduce

npm run build

What is expected ?

Normal building

What is actually happening?

ERROR in ./.nuxt/nuxt-icons.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /.nuxt/nuxt-icons.js: Unexpected token, expected "," (93:1387)

bug
0
siberiadev
5
siberiadev
commented a year ago

I fixed that by change nuxt version in package.json
"nuxt-edge": "latest"
change to
"nuxt": "^2.7.0"

Why it helps me?
Maybe nuxt core team change nuxt-edge to nuxt repo? What exactly should I use? nuxt or nuxt-edge?
nuxt 2.7.0 === nuxt-edge?

0
pi0
37.3k
pi0
commented a year ago

Hi. This is a known Issue with latest nuxt-edge. (This may happen time to time) will resolve soon.

0
siberiadev
5
siberiadev
commented a year ago

Ok, thank you. Are there any differences between nuxt-edge and nuxt? Or
nuxt-edge is just a middle (dev) version of nuxt?

чт, 23 мая 2019 г. в 14:33, Pooya Parsa notifications@github.com:

Hi. This is a known Issue with latest nuxt edge. (This may happen time to
time) will resolve soon.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nuxt/nuxt.js/issues/5783?email_source=notifications&email_token=AKFQDS3PNTSFJBYG3CBCVR3PWY3FFA5CNFSM4HORTMIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWBGVQI#issuecomment-495086273,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFQDSYHVK52WIHTYZDDKJTPWY3FFANCNFSM4HORTMIA
.

0
Informations
Bug ReportOpen
#c9249 - Created a year ago