Skip to content

Local Debugg through cloudflare tunnel crashes #3306

Open
@alexphone-admin

Description

@alexphone-admin

Environment

Environment
Operating System: Mac Os
Node Version: v22.14.0
Nuxt Version: nuxi v3.23.1
Package Manager: [email protected]
User Config: modules, gtag, ui, devtools, css, routeRules, i18n, runtimeConfig, nitro, future, compatibilityDate, vite, eslint
Runtime Modules: @nuxt/eslint@^9.23.0, @nuxt/image@^1.10.0, @nuxt/[email protected], @nuxt/content@^3.4.0, @vueuse/nuxt@^13.0.0, nuxt-og-image@^5.1.1
Build Modules: -
Version
3.4.0

nuxt.config:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: [
'@nuxt/eslint',
'@nuxt/image',
'@nuxt/ui-pro',
'@nuxt/content',
'@vueuse/nuxt',
'nuxt-og-image'
],
components: true,
devtools: { enabled: true },

css: ['~/assets/css/main.css'],

content: {
preview: {
dev: true,
api: 'https://api.nuxt.studio',
gitInfo: {
name: 'alexphone-blog',
owner: 'alex-phone',
url: 'https://github.com/alex-phone/alexphone-blog'

future: {
compatibilityVersion: 4

compatibilityDate: '2024-04-03',

eslint: {
config: {
stylistic: {
commaDangle: 'never',
braceStyle: '1tbs'

Version

v3

Reproduction

https://github.com/alex-phone/alexphone-blog

Description

local debugging through cloudflare tunnel crashes. With a starter template, and Nuxt Content v3 installed, trying to local debug on Nuxt Studiol, entering Preview Mode it crashes after a few seconds. Disabling devtools, only server side error (500) is showed.

Additional context

Logs

Client Error only with devtools: { enabled: true }:
devtools.client.js?v=c2aa232d:19 SecurityError: Failed to read a named property 'NUXT_DEVTOOLS_DISABLE' from 'Window': Blocked a frame with origin "https://induced-explained-spencer-warren.trycloudflare.com" from accessing a cross-origin frame.
at nuxt.js?v=c2aa232d:139:60
at fn (nuxt.js?v=c2aa232d:216:44)
at Object.runWithContext (runtime-core.esm-bun…?v=c2aa232d:4013:18)
at callWithNuxt (nuxt.js?v=c2aa232d:222:24)
at nuxt.js?v=c2aa232d:38:41
at EffectScope.run (reactivity.esm-bundl…js?v=c2aa232d:66:16)
at Object.runWithContext (nuxt.js?v=c2aa232d:38:31)
at applyPlugin (nuxt.js?v=c2aa232d:139:39)
at executePlugin (nuxt.js?v=c2aa232d:158:23)
at applyPlugins (nuxt.js?v=c2aa232d:189:11)
(anonymous) @ devtools.client.js?v=c2aa232d:19
(anonymous) @ nuxt.js?v=c2aa232d:139
fn @ nuxt.js?v=c2aa232d:216
runWithContext @ runtime-core.esm-bun….js?v=c2aa232d:4013
callWithNuxt @ nuxt.js?v=c2aa232d:222
(anonymous) @ nuxt.js?v=c2aa232d:38
run @ reactivity.esm-bundler.js?v=c2aa232d:66
runWithContext @ nuxt.js?v=c2aa232d:38
applyPlugin @ nuxt.js?v=c2aa232d:139
executePlugin @ nuxt.js?v=c2aa232d:158
applyPlugins @ nuxt.js?v=c2aa232d:189
await in applyPlugins
initApp @ entry.js:58
(anonymous) @ entry.js:73

Server Error wiht or without devtools: { enabled: true }:
500
The requested module '/_nuxt/@fs/Users/saroca/proyectos/alexphone-blog-1/node_modules/.pnpm/[email protected]/node_modules/brace-expansion/index.js?v=8bcdf3b6' does not provide an export named 'default'

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