How to solve “await import(‘source-map-support’)”

Forums Vue 3 Migration Errors How to solve “await import(‘source-map-support’)”

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #122247
    albanaavdiu
    Participant

    file:///C:/Users/~/node_modules/vite/bin/vite.js:7
    await import(‘source-map-support’).then((r) => r.default.install())
    ^^^^^

    SyntaxError: Unexpected reserved word
    at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
    at async link (internal/modules/esm/module_job.js:42:21)

    #122248
    albanaavdiu
    Participant

    Possible Causes
    Low Node.js Version and NPM version
    https://nodejs.org/en

    #122249
    eralbagraba
    Participant

    I have Node v20.9.0 and

    npm 9.4.2 

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.