frappe / frappe-ui

A set of components and utilities for rapid UI development
https://frappeui.com
MIT License
256 stars 109 forks source link

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

Open vineyrawat opened 2 months ago

vineyrawat commented 2 months ago

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 commented 1 month ago

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 commented 1 month ago

@ayazfpidev Not yet :( , trying to figure out

2old4thisShit commented 4 weeks ago

Same for me in frappe-ui@0.1.67

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