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

Support nuxt 3.0.0-rc.14 #561

Closed
svnldwg opened this issue Nov 16, 2022 · 3 comments
Closed

Support nuxt 3.0.0-rc.14 #561

svnldwg opened this issue Nov 16, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@svnldwg
Copy link

svnldwg commented Nov 16, 2022

First of all, thank you for this great project! Is there a way to sponsor it?

Is your feature request related to a problem? Please describe.

Nuxt 3.0.0-rc.14 (the last RC before the official release) was just released. I tried to update it in my project, but @nuxt/sanity seems to be not compatible with it yet. I get this error message when starting up Nuxt:

ERROR  Cannot restart nuxt:  Cannot read properties of undefined (reading 'sanity')                                                            08:54:52

  at setup (node_modules/@nuxtjs/sanity/dist/module.mjs:50:118)
  at normalizedModule (node_modules/@nuxt/kit/dist/index.mjs:642:29)
  at async installModule (node_modules/nuxt/node_modules/@nuxt/kit/dist/index.mjs:416:3)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1827:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6779:9)
  at async _applyPromised (node_modules/nuxi/dist/chunks/dev.mjs:6713:10)

Describe the solution you'd like to see

Support Nuxt3 RC14 to be ready for the official release of Nuxt3.

Additional context

Release Notes of Nuxt 3 RC14: https://github.com/nuxt/framework/releases/tag/v3.0.0-rc.14

@svnldwg svnldwg added the enhancement New feature or request label Nov 16, 2022
@danielroe
Copy link
Collaborator

That's really kind of you! You can always sponsor Nuxt itself - or, if you would like, me or any of the other contributors.

@danielroe
Copy link
Collaborator

... and thanks for the report. It's an upstream issue - will be resolved in nuxt/framework#9050.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2022
@danielroe
Copy link
Collaborator

If you need a workaround before the next version of nuxt is released, you can add the following to your nuxt config:

runtimeConfig: { public: {} },

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

No branches or pull requests

2 participants