You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything work until we modify the nuxt.config.js and triggers this error:
FATAL Template not found: /Users/antfu/i/vitesse-nuxt-bridge/.nuxt/middleware.js 10:01:04
at normalizeTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:924:13)
at addTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:908:20)
at addPluginTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:973:16)
at setup (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/bridge-edge/dist/chunks/module2.mjs:152:5)
at Object.wrappedModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:1212:22)
at installModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:1261:17)
at setup (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/bridge-edge/dist/chunks/module.mjs:993:13)
at async ModuleContainer.addModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:174:20)
at async ModuleContainer.ready (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:45:7)
at async Nuxt._init (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:346:5)
ERROR Cannot restart nuxt: Template not found: /Users/antfu/i/vitesse-nuxt-bridge/.nuxt/middleware.js
at normalizeTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:924:13)
at addTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:908:20)
at addPluginTemplate (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:973:16)
at setup (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/bridge-edge/dist/chunks/module2.mjs:152:5)
at Object.wrappedModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:1212:22)
at installModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit-edge/dist/index.mjs:1261:17)
at setup (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/bridge-edge/dist/chunks/module.mjs:993:13)
at async ModuleContainer.addModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:174:20)
at async ModuleContainer.ready (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:45:7)
at async Nuxt._init (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/core-edge/dist/core.js:346:5)
ERROR [unhandledRejection] ENOENT: no such file or directory, open '/Users/antfu/i/vitesse-nuxt-bridge/.nuxt/dist/server/client.manifest.json'
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
Darwin
v16.11.1
2.16.0-27282256.ab1c6cb4
[email protected]
Webpack
buildModules
,css
,target
,components
,bridge
,unocss
-
@unocss/[email protected]
,@vueuse/core/[email protected]
,@nuxt/[email protected]
Reproduction
(Essential every Bridge app with Vite)
https://github.com/antfu/vitesse-nuxt-bridge
https://github.com/nuxt/modules
Describe the bug
Everything work until we modify the
nuxt.config.js
and triggers this error:Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: