Closed Luferov closed 2 years ago
I have the same problem
Same here
Same
I'm having another warning
WARN [SSR] Error transforming virtual:/project-root/.nuxt/paths.mjs: Failed to resolve import "#_config" from "virtual:/project-root/.nuxt/paths.mjs". Does the file exist?
at formatError (node_modules/vite/dist/node/chunks/dep-9c153816.js:38098:46)
at TransformContext.error (node_modules/vite/dist/node/chunks/dep-9c153816.js:38094:19)
at normalizeUrl (node_modules/vite/dist/node/chunks/dep-9c153816.js:69819:26)
at async TransformContext.transform (node_modules/vite/dist/node/chunks/dep-9c153816.js:69959:57)
at async Object.transform (node_modules/vite/dist/node/chunks/dep-9c153816.js:38334:30)
at async doTransform (node_modules/vite/dist/node/chunks/dep-9c153816.js:53030:29)
not sure if it's related to this one?
@ahmedmkamal No, that's a different issue, which should now be resolved by https://github.com/nuxt/framework/pull/3848.
@danielroe Okay, thank you!
Our solution: You have to make sure latest version of vue 2.17.16 is being used. In our project we had in root package.json "resolutions" set for vue to 2.16.0 so it never updated to 2.17.x which includes some breaking changes. In case you use yarn run command "yarn why vue" or "npm ls vue"
Environment
Linux
v16.4.1
2.16.0-27358576.777a4b7f
yarn@1.22.17
webpack
app
,bridge
,alias
,ssr
,target
,publicRuntimeConfig
,head
,loading
,css
,plugins
,components
,buildModules
,modules
,apollo
,i18n
,typescript
,router
,vuetify
,build
@nuxtjs/color-mode@3.0.2
,@nuxtjs/apollo@4.0.1-rc.5
,cookie-universal-nuxt@2.1.5
@nuxt/bridge@3.0.0-27457855.7c0b914
,@pinia/nuxt@0.1.8
,@nuxtjs/vuetify@1.12.3
,@nuxtjs/i18n@7.2.0
Reproduction
https://github.com/devind-team/devind-template
Steps:
Describe the bug
I gotting warnings when run in dev and prod mode.
warn in in ./.nuxt/imports.mjs:
Additional context
Logs
No response