question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error after upgrading to 3.0.0-rc.9: the requested module 'untyped' does not provide an export named 'defineUntypedSchema'

See original GitHub issue

Environment


  • 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:closed
  • Created a year ago
  • Comments:13 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
danielroecommented, Sep 5, 2022

Looks like you have an outdated version of untyped installed. Try running yarn upgrade untyped

3reactions
ktiedtcommented, Sep 18, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found