Closed ablomm closed 7 months ago
See https://github.com/rosera/pet-theory/pull/61 for my fix
Thank you!
https://github.com/sindresorhus/got
Warning: This package is native ESM and no longer provides a CommonJS export. If your project uses CommonJS, you will have to convert to ESM. Please don't open issues for questions regarding CommonJS / ESM.
The Lab07/prod-frontend-billing will crash when running with docker. Here is the error message:
I fixed this issue by simply changing the require('got') to import('got') in the render.js file
Reproduce:
Build the docker image Run the docker image Observe error