Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

ERROR: Module not found: Error: Package path . is not exported from

$
0
0

I am using Node and express along with svelte on the frontend, I have npm installed the "socket.io-client" package on the client side, but when I try to import it, I get this error.I see this error only when importing "socket.io-client", I tried importing axios and it was working fine.How to solve this issue?

This is how I am importing and this is the error that I get

I have tried everything, including clearing the cache, unistalling node modules and reinstalling them.I tried using "require" as well, but It did not work.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>