Next.js: Error after deploying on NOW

Created on 14 Mar 2019  路  3Comments  路  Source: vercel/next.js

Hey guys,

I have my project:
https://github.com/numbofathma/roninmobile
successfully deployed on now:
https://roninmobile-boaxvpc5o.now.sh/
but in the console I get:
"TypeError: Cannot read property 'react' of undefined".

Any ideas? (Is my first project with next.js and now)

Thanks!

Most helpful comment

Fudge... I forgot I ran npm update last night :| Sorry :( Ummm I'll handle it, you can close it! Pffff!
Thank you very much!

All 3 comments

@numbofathma This looks like it's due to the way you're handling react-loader-spinner. It works fine when removing react-loader-spinner. This also occurs locally and not just after deploying to now

Awesome! How did you identified that so I know were to look next time? What did you run? I've built the project locally and I just can't get that error :( What did you do? :-S
Thank you! 馃憤

Fudge... I forgot I ran npm update last night :| Sorry :( Ummm I'll handle it, you can close it! Pffff!
Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings