You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I'm having this issue in the build of my project with nextjs, does anyone have any idea what it could be?
ModuleNotFoundError: Module not found: Error: Can't resolve 'globalthis/polyfill' in '/home/unbox/Documents/github/with-styled-components-app/node_modules/payment/lib'
Recently I'm having this issue in the build of my project with nextjs, does anyone have any idea what it could be?
ModuleNotFoundError: Module not found: Error: Can't resolve 'globalthis/polyfill' in '/home/unbox/Documents/github/with-styled-components-app/node_modules/payment/lib'
How to reproduce
Take any example from nextjs, in my case I clone the with-styled-components
Install
react-credit-cards
, import on any page.Run
npm i
Run
npm run build
Update:
payment latest release
2.4.1
is causing this.related PR in payment repo
setting the version manually to the previous one, works normally
The text was updated successfully, but these errors were encountered: