Skip to content

Version 1.6.6 resulted in Unexpected token '{' error on Nuxt project #136

Open
@guilherme-moneri

Description

@guilherme-moneri

Environment

nuxt: "^2.13.0"
node: 14.21.3

Reproduction

Not sure

Describe the bug

This update messed with something and I started receiving this error stack when opening my Nuxt project:

SyntaxError: Unexpected token '{'

at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Module.require (internal/modules/cjs/loader.js:1003:19)
at require (internal/modules/cjs/helpers.js:107:18)
at Object.<anonymous> (node_modules/node-fetch-native/dist/index.cjs:1:80)
at Module._compile (internal/modules/cjs/loader.js:1114:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)

Downgrading to 1.6.4 resolved the issue.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions