Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
Closed this issue · 3 comments
hakhsin commented
Hi, I created a vue ui library with this repo. I added my library in another project as local dependency. When I build server in browser I get this error:
Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>'
What do I do?
climberger commented
Did you find a solution for this problem? I had the same issue when building my own component library.
hakhsin commented
Hi @climberger, I solved it but I has forgot it now. I thought a little bit for remember it but I don't remember. I'm sorry!
wuruoyun commented
Closing this issue as the project has been updated to Vue3 and Vite. This issue is likely no longer relevant.