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

[nuxt] Could not access pt. The only available runtime config keys on the client side are public and app #69

Closed
Tarabass opened this issue Jun 14, 2024 · 8 comments

Comments

@Tarabass
Copy link

After a clean installation I get the following warning in the console. In bigger projects it can even result in an error instead of a warning.

[nuxt] Could not access 'pt'. The only available runtime config keys on the client side are 'public' and 'app'. See 'https://nuxt.com/docs/guide/going-further/runtime-config' for more information.

https://stackblitz.com/edit/github-ydzyjt

npx nuxi init NuxtPrimeVueTest
npx nuxi@latest module add primevue
@borsTiHD
Copy link

I have the same problem.
I am trying to update an project to the latest dependencies.

Among others nuxt: v3.12.1 and Primevue with @primevue/nuxt-module: v4.0.0-rc.1

@petter-tchirkov
Copy link

Same issue here, fresh installation

@kambanwait
Copy link

kambanwait commented Jun 14, 2024

Same issue here, just replicated it with the latest PrimeVue 'RC' and Nuxt version. Also happens with PrimeVue3 latest and latest Nuxt 😭:

https://stackblitz.com/edit/nuxt-starter-vxuc17?file=app.vue

@petter-tchirkov
Copy link

can anyone tell the latest working version?

@Ice-Hazymoon
Copy link

same issue.

@Tarabass
Copy link
Author

Discussion in Nuxt; nuxt/nuxt#27645

@Tarabass
Copy link
Author

can anyone tell the latest working version?

Downgrade nuxt to 3.11.2 will suppress the logging. Due to changes within Nuxt this warning is getting logged now, while the problem may have existed for a longer time.

@mertsincan
Copy link
Member

Fixed in core. Thanks a lot for your reports!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants