godaddy / svgs

svgs is a compatiblity layer between svg and react-native-svg
MIT License
191 stars 31 forks source link

Error: Cannot find module 'svgs' from 'js/components/Island.js' #32

Closed English3000 closed 3 years ago

English3000 commented 5 years ago

When I used "svgs": ^4.0.0 in my package.json, I got the entitled error.

By switching back to ^3.2.1, this resolved the issue...

SivanMehta commented 5 years ago

Can you provide your import (or require ?) usage that generates this error?

3rd-Eden commented 5 years ago

"Cannot find module 'svgs'" means that it can't even get resolved / found my npm. I would suggest removing your node_modules folder and re-installing it to see if it gets resolved.