Closed seyyidt closed 1 year ago
version 5.5.2
Using the idleTimer works with npm run dev. But the same code gives an error in production. We are using next.js.
npm run dev
I am not sure if this is a bug with idleTimer or a general issue with swcMinifier.
npx create-next-app@latest
npm run build-prod
npm start
it should just work.
OS
Browser Vendor
I couldn't find any proper solution online and the only workaround I could find is disabling SWC minify.
Since I couldn't find anything online specifically to this error, maybe it could be a help for other people experiencing the same issue.
updating to the latest version of next.js solved this issue.
Bug information
Affected Module
version 5.5.2
Describe the bug
Using the idleTimer works with
npm run dev
. But the same code gives an error in production. We are using next.js.I am not sure if this is a bug with idleTimer or a general issue with swcMinifier.
To Reproduce
npx create-next-app@latest
npm run build-prod
andnpm start
Expected behavior
it should just work.
Screenshots
System Information (please complete the following information)
OS
: [Ubuntu]Browser Vendor
: [chrome]Additional context
I couldn't find any proper solution online and the only workaround I could find is disabling SWC minify.
Since I couldn't find anything online specifically to this error, maybe it could be a help for other people experiencing the same issue.