Error after upgrading to 3.0.0-rc.9: the requested module 'untyped' does not provide an export named 'defineUntypedSchema'
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v14.20.0
- Nuxt Version:
3.0.0-rc.9
- Nitro Version:
0.5.0
- Package Manager:
yarn@1.22.19
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
This issue is happening after upgrading to "nuxt": "3.0.0-rc.9"
from "nuxt": "3.0.0-rc.6"
My current nuxt
version is rc.6 so I just upgraded / installed the latest beta which is rc.9 and tried running the application by using yarn dev
. Then I experienced aforementioned error.
Describe the bug
Error after upgrading to 3.0.0-rc.9: the requested module ‘untyped’ does not provide an export named ‘defineUntypedSchema’ SyntaxError: The requested module ‘untyped’ does not provide an export named ‘defineUntypedSchema’
Additional context
No response
Logs
ERROR Cannot start nuxt: The requested module 'untyped' does not provide an export named 'defineUntypedSchema'
import { defineUntypedSchema } from 'untyped';
^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'untyped' does not provide an export named 'defineUntypedSchema'
at ModuleJob._instantiate (internal/modules/esm/module_job.js:124:21)
at async ModuleJob.run (internal/modules/esm/module_job.js:179:5)
at async Loader.import (internal/modules/esm/loader.js:178:24)
at async loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:686:37)
at async load (node_modules/nuxi/dist/chunks/dev.mjs:6767:23)
at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6826:5)
at async _main (node_modules/nuxi/dist/cli.mjs:50:20)
Issue Analytics
- State:
- Created a year ago
- Comments:13 (3 by maintainers)
Top Results From Across the Web
The requested module does not provide an export named
I'm getting an error when I import the transpiled typescript file in a html script tag. <script> var handlers = {} </script> <script ......
Read more >The requested module does not provide an export named in JS
The error "The requested module does not provide an export named" occurs when mixing up default and named ES6 module imports and exports....
Read more >does not provide an export named 'vue' - You.com - You.com
The thing you want to do is import vue but it doesnot have a default export function or either the default thing to...
Read more >YogaGraphiQL not working after migrate and scaffold
Uncaught SyntaxError: The requested module 'https://unpkg.com/@graphql-yoga/graphiql' does not provide an export named 'renderYogaGraphiQL'.
Read more >SAVE - ABP Commercial
The requested module './utilities.js' does not provide an export named 'firstNonNull' #2725 · ABP Framework version: v5.2.0-rc. · UI type: Blazor ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like you have an outdated version of untyped installed. Try running
yarn upgrade untyped
Seems to be related to the
@pinia/nuxt
module + Nuxt 3 RC… started hitting this problem when I tried implementing a pinia store and added the module to the nuxt config.