react-mt-svg-lines
react-mt-svg-lines copied to clipboard
Can't resolve 'react-mt-svg-lines' in '/opt/build/repo/src/components'
Hi, I am trying to deploy to netlify & vercel but building creates this error.
I have tried to build in gatsby locally and it works fine. Just when push to deploy doesn't compile.
Thanks for the great package.
hi @desmondshowell, thanks for using the lib. i haven't updated it in some time. do you mind posting the error you are getting?
Hi @moarwick,
"Can't resolve 'react-mt-svg-lines' in '/opt/build/repo/src/components'" This is the error that comes from the Netlify console. It only happens when I build on the production server.
I am using GatsbyJS and it compiles fine locally.
strange, i think something related to Gatsby/Netlify. it appears to be a pretty common issue with other packages, if you search about. maybe try adding the "@tweenjs/tween.js": "16.7.0" dependency to your package.json manually?