Build error 'Could not load #_config' with `ssr: false`
See original GitHub issueEnvironment
Nuxt CLI v3.0.0-27467464.a0c4d6e 00:51:16 RootDir: C:\Dev\Projects\support-web 00:51:17 Nuxt project info: 00:51:17
- Operating System:
Windows_NT
- Node Version:
v16.14.0
- Nuxt Version:
3.0.0-27467464.a0c4d6e
- Package Manager:
yarn@1.22.17
- Builder:
vite
- User Config:
css
,meta
,hooks
,components
,buildModules
,modules
,strapi
,ssr
,nitro
- Runtime Modules:
@formkit/nuxt@1.0.0-beta.6
- Build Modules:
@nuxtjs/strapi@1.3.1
,@vueuse/nuxt@8.1.2
,@pinia/nuxt@0.1.8
Reproduction
>yarn build
yarn run v1.22.17
$ nuxi build
Nuxt CLI v3.0.0-27467464.a0c4d6e 00:59:43
i Vite client warmed up in 2634ms 00:59:49
i Client built in 6702ms 00:59:53
i Building server... 00:59:53
ERROR [vite:load-fallback] Could not load #_config (imported by virtual:C:/Dev/Projects/support-web/.nuxt/paths.mjs): ENOENT: no such file or directory, open 'C:\Dev\Projects\support-web\#_config' 00:59:53
ERROR Could not load #_config (imported by virtual:C:/Dev/Projects/support-web/.nuxt/paths.mjs): ENOENT: no such file or directory, open 'C:\Dev\Projects\support-web\#_config' 00:59:53
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Describe the bug
After the update(->v3.0.0-27467464.a0c4d6e), the following error occurred.
nuxi build
ERROR [vite:load-fallback] Could not load #_config (imported by virtual:C:/Dev/Projects/support-web/.nuxt/paths.mjs): ENOENT: no such file or directory, open 'C:\Dev\Projects\support-web\#_config' 00:59:53
ERROR Could not load #_config (imported by virtual:C:/Dev/Projects/support-web/.nuxt/paths.mjs): ENOENT: no such file or directory, open 'C:\Dev\Projects\support-web\#_config'
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:10
- Comments:5 (2 by maintainers)
Top GitHub Comments
@danielroe
version (3.0.0-27467464.a0c4d6e) https://stackblitz.com/edit/github-gqtj6y?file=package.json version (3.0.0-27468803.23e7afb) (recent): https://stackblitz.com/edit/github-2uebfc?file=package.json
If you’re using build then disabling ssr also causes this error
Deleting
node_modules/.vite
not work 😕