fonts
fonts copied to clipboard
Cannot start nuxt: Failed to get devtools context.
Environment
- Operating System:
Darwin
- Node Version:
v18.17.1
- Nuxt Version:
3.11.2
- CLI Version:
3.11.1
- Nitro Version:
2.9.6
- Package Manager:
[email protected]
- Builder:
-
- User Config:
devtools
,modules
,hub
,nitro
- Runtime Modules:
@nuxthub/[email protected]
,@nuxt/[email protected]
,[email protected]
,@nuxtjs/[email protected]
,@nuxt/[email protected]
- Build Modules:
-
Version
v0.7.0
Reproduction
https://stackblitz.com/~/github.com/larrasu/frontend-mentor
cd solutions/invoice-app
pnpm dev
Description
I've been experiencing this error in various projects. I'm not sure why I can't reproduce the error on Stackblitz. It's the same repo and branch. The error is still showing up on my end as of now. The only way to get rid of this error is by removing @nuxt/fonts
from the nuxt.config.ts
. So I figured there is a conflict between@nuxt/fonts
and @nuxt/devtools
?
Logs
ERROR Cannot start nuxt: Failed to get devtools context. 12:09:04 AM
at extendServerRpc (node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/devtools-kit/dist/index.mjs:96:11)
at node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@nuxt/fonts/dist/module.mjs:1137:11
at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:66
at Object.run (node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:41:43)
at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:56
at async enableModule (/Users/larrasu/.nvm/versions/node/v16.15.1/lib/node_modules/@nuxt/devtools/dist/chunks/module-main.mjs:8466:3)
at async normalizedModule (/Users/larrasu/.nvm/versions/node/v16.15.1/lib/node_modules/@nuxt/devtools/node_modules/@nuxt/kit/dist/index.mjs:169:17)
at async installModule (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:2415:95)
at async initNuxt (node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_fl_br3acc34oknouixgtiqiyrhd6y/node_modules/nuxt/dist/index.mjs:4233:7)
at async NuxtDevServer._load (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/dev2.mjs:6879:5)