Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feather icons does not provide an export named 'default' #166

Open
vineyrawat opened this issue Aug 2, 2024 · 3 comments
Open

Feather icons does not provide an export named 'default' #166

vineyrawat opened this issue Aug 2, 2024 · 3 comments

Comments

@vineyrawat
Copy link

Facing below error after installing fappe-ui

Uncaught SyntaxError: The requested module '/node_modules/feather-icons/dist/feather.js?v=e8cd501a' does not provide an export named 'default' (at FeatherIcon.vue:3:8)
3

@ayazfpidev
Copy link

I have also got same problem after install frappe-ui,

"frappe-ui": "^0.1.6",
"feather-icons": "^4.28.0",
"vue": "^3.2.25",

Any solution?

@vineyrawat
Copy link
Author

@ayazfpidev Not yet :( , trying to figure out

@2old4thisShit
Copy link

Same for me in [email protected]

Try this:

In vite.config.js add this to "export default defineConfig", after "build"

optimizeDeps: { include: ['frappe-ui > feather-icons', 'showdown', 'engine.io-client'], },

image

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

No branches or pull requests

3 participants