Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxthub Database Devtools Bug #498

Open
remiconnesson opened this issue Mar 14, 2025 · 4 comments
Open

Nuxthub Database Devtools Bug #498

remiconnesson opened this issue Mar 14, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@remiconnesson
Copy link

Opening the dev tools for nuxthub in dev database bugs

Image

It's written to contact the support with the zip file below

bug-report.zip

@remiconnesson remiconnesson added the bug Something isn't working label Mar 14, 2025
@remiconnesson
Copy link
Author

Working directory: /home/remi/code/ship/february/transcript_alchemy/website                          nuxi  11:26:20 PM
Nuxt project info: (copied to clipboard)                                                             nuxi  11:26:21 PM

------------------------------
- Operating System: Linux
- Node Version:     v22.14.0
- Nuxt Version:     3.16.0
- CLI Version:      3.23.0
- Nitro Version:    2.11.6
- Package Manager:  [email protected]
- Builder:          -
- User Config:      modules, uiPro, hub, css, devtools, ssr, future, compatibilityDate, runtimeConfig, eslint, mdc, sentry, sourcemap
- Runtime Modules:  @nuxt/[email protected], @nuxt/[email protected], @nuxtjs/[email protected], @nuxthub/[email protected], @nuxt/[email protected],
 @sentry/nuxt/[email protected], [email protected], @pinia/[email protected]
- Build Modules:    -
------------------------------

@remiconnesson
Copy link
Author

Also happens with most recent version of nuxthub 0.8.18

------------------------------
- Operating System: Linux
- Node Version:     v22.14.0
- Nuxt Version:     3.16.0
- CLI Version:      3.23.0
- Nitro Version:    2.11.6
- Package Manager:  [email protected]
- Builder:          -
- User Config:      modules, uiPro, hub, css, devtools, ssr, future, compatibilityDate, runtimeConfig, eslint, mdc, sentry, sourcemap
- Runtime Modules:  @nuxt/[email protected], @nuxt/[email protected], @nuxtjs/[email protected], @nuxthub/[email protected], @nuxt/[email protected],
 @sentry/nuxt/[email protected], [email protected], @pinia/[email protected]
- Build Modules:    -
------------------------------

Image

local-storage.json

stacktrace.txt

@atinux
Copy link
Contributor

atinux commented Mar 18, 2025

Could you please open the browser devtools and tell me what are the errors in it? 🙏

@remiconnesson
Copy link
Author

@atinux

Could you please open the browser devtools and tell me what are the errors in it? 🙏

I didn't think of checking the console

Access to fetch at 'http://localhost:3000/api/_hub/database/query' from origin 'https://admin.hub.nuxt.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Comprendre cette erreurAI
:3000/api/_hub/database/query:1 
            
            
           Failed to load resource: net::ERR_FAILEDComprendre cette erreurAI
database:1 Access to fetch at 'http://localhost:3000/api/_hub/database/query' from origin 'https://admin.hub.nuxt.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Comprendre cette erreurAI
:3000/api/_hub/database/query:1 
            
            
           Failed to load resource: net::ERR_FAILEDComprendre cette erreurAI
database:1 Access to fetch at 'http://localhost:3000/api/_hub/database/query' from origin 'https://admin.hub.nuxt.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

It's giving me some CORS errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants