Skip to content

I have error on nuxt 3.10.0 #311

@fenn1ks

Description

@fenn1ks

please help me with this problem
When building a project in webstorm, the console says:
[10:05:07 AM] ERROR Pre-transform error: Failed to parse source for import analysis because the content contains invalid JS syntax. If you are using JSX, make sure to name the file with the .jsx or .tsx extension.

and on the page
500
[vite-node] [plugin:vite:import-analysis] [VITE_ERROR] virtual:nuxt:C:/someadresstoproject/.nuxt/routes.mjs:10:3

8 | redirect: icons_45pageK3BpbB8TSHMeta?.redirect,
9 | component: () => import("C:/someadresstoproject/node_modules/@nuxtjs/svg-sprite/dist/runtime/components/icons-page.vue").then(m => m.default || m)
10 | }
| ^
11 | ]

at virtual:nuxt:C:/someadresstoproject/.nuxt/routes.mjs:10:3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions