After upgrading to nuxt3-rc2 Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.vite/deps/ufo.js?v=9947c87e' does not provide an export named 'isEqual'
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v14.19.0
- Nuxt Version:
3.0.0-rc.2-27530889.9e5a3cd
- Package Manager:
npm@8.4.1
- Builder:
vite
- User Config:
runtimeConfig
,modules
,buildModules
,css
,intlify
,googleFonts
- Runtime Modules:
@formkit/nuxt@1.0.0-beta.7-ffbc354
- Build Modules:
@intlify/nuxt3@0.1.10
,@pinia/nuxt@0.1.9
Reproduction
I have the error if I open any page.
Describe the bug
I have the bug in a browser console and seems like client-only part doesn’t work.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:26 (7 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
The requested module '/node_modules/.vite/deps/vue.js' does not provide an export named 'default' · Ask Question. Asked 5 ...
Read more >vite the requested module does not provide an export named ...
1 I get an error in the console: Uncaught SyntaxError: The requested module '/src/components/HelloWorld.vue' does not provide an export named 'default2' . The ......
Read more >The requested module does not provide an export named
I have to fix this problem. Component.tsx:31 Uncaught SyntaxError: The requested module '/@fs/Users/user/Programming/react_project/node_modules/ ...
Read more >Common Issues - Nuxt Vite
Uncaught SyntaxError : The requested module ... does not provide an export named 'default'. Vite has an issue for pre-bundling dependencies ...
Read more >Requested module does not provide export named 'default'
To solve the error "The requested module does not provide an export named default", use the `default` keyword when exporting a value from...
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
This is still an issue on Nuxt
3.0.0-rc.3
.Fresh npm install after deleting
package-lock.json
and removingnode_modules
completely.Error:
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.vite/deps/ufo.js?v=3d76fa91' does not provide an export named 'isEqual' (at router.mjs:8:23)
From this line:
import { withoutBase, isEqual } from "/_nuxt/node_modules/.vite/deps/ufo.js?v=3d76fa91";
UPDATE 1 I downgraded to Nuxt
3.0.0-rc.2
and deletednode_modules
andpackage-lock.json
and re-installed everything and the error has gone. So it’s definitely something in RC3.UPDATE 2 As mentioned by @cdowning below, adding an override for the UFO dependency in
package.json
works with RC3 - though this is not ideal of course as it may break future updates.@nuxtjs/tailwindcss
Just release a new version and the issue is gone.