Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

SyntaxError: The requested module does not provide an export named 'default' Vue3 Vite #248

Open
SIMONNABUKO opened this issue Oct 5, 2022 · 2 comments
Labels

Comments

@SIMONNABUKO
Copy link

SIMONNABUKO commented Oct 5, 2022

Describe the bug
I am using Vue3 and Vite. I installed the package and try using it in one of my components using the examples given but I got and error saying: ```Uncaught (in promise) SyntaxError: The requested module '/node_modules/lodash.orderby/index.js?v=6db64e0b' does not provide an export named 'default' (at settings.js?v=6db64e0b:5:8)


**Code**
The code with the error is in settings.js on line 5:
import orderBy from '/node_modules/lodash.orderby/index.js?v=6db64e0b'


@SIMONNABUKO SIMONNABUKO added the bug label Oct 5, 2022
@ti-mercado-industrial
Copy link

I just switch from vue-cli to vite this week and got the same error, any clue?

zaif3r added a commit to zaif3r/vue-agile that referenced this issue Dec 5, 2022
@Germain-condo-group
Copy link

Can we get this patch merged back to project? I use the fork for now but would like to use the main version again

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants