You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the Nuxt's environment via yarn dev, the server shows a bunch of warnings, and ultimately errors out:
[nuxt] [request error] [unhandled] [500] The requested module './../_node_modules/hast-util-whitespace/lib/index.js' does not provide an export named 'whitespace'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:122:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:188:5)
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
at async ViteNodeRunner.interopedImport (./node_modules/vite-node/dist/client.mjs:421:28)
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:280:24)
at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:206:14)
at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:259:12)
at async ./node_modules/@nuxtjs/prismic/dist/runtime/plugin.js:8:31
at async ViteNodeRunner.runModule (./node_modules/vite-node/dist/client.mjs:399:5)
at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:381:5)
What is Expected?
That Nuxt starts normally.
What is actually happening?
Nuxt is erroring out. 😭
The text was updated successfully, but these errors were encountered:
Once again, thank you so much for reporting this issue and trying out the latest version of our kit!
This should now be fixed in @prismicio/client v7.7.4, update with:
npm update @prismicio/client
P.S. I'm aware of the warning spam going on about some source map not loading. This appears to be caused by: inikulin/parse5#1194 (also related: nuxt/content#2663), I'll see what I can do about it.
I'm gonna close this issue as everything checked in our QA process. If you still experience the issue with the latest version, you're very welcome to reopen this issue!
Versions
Reproduction
https://stackblitz.com/edit/nuxt-starter-rxtw93
https://stackblitz.com/github/nuxt-modules/prismic/tree/master/examples/minimal?file=pages%2Findex.vue -> Your starter is broken as well.
Steps to reproduce
When starting the Nuxt's environment via
yarn dev
, the server shows a bunch of warnings, and ultimately errors out:What is Expected?
That Nuxt starts normally.
What is actually happening?
Nuxt is erroring out. 😭
The text was updated successfully, but these errors were encountered: