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
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
The code with this repo was working as expected with webpack lower than 5 but when we updated the webpack version, it is throwing error with createPKCECodes() function.
Error:
ncaught (in promise) TypeError: (0 , crypto__WEBPACK_IMPORTED_MODULE_1__.randomBytes) is not a function
at createPKCECodes (pkce.ts:22:1)
at AuthService.authorize (AuthService.ts:176:1)
at _callee$ (authInterceptor.jsx:9:1)
at tryCatch (runtime.js:63:1)
at Generator.invoke [as _invoke] (runtime.js:294:1)
at Generator.next (runtime.js:119:1)
at asyncGeneratorStep (axiosHelper.js:20:1)
at _next (axiosHelper.js:20:1)
at axiosHelper.js:20:1
at new Promise ()
It would be really helpful if someone can suggest some solution.
The text was updated successfully, but these errors were encountered:
Hello Team,
The code with this repo was working as expected with webpack lower than 5 but when we updated the webpack version, it is throwing error with createPKCECodes() function.
Error:
ncaught (in promise) TypeError: (0 , crypto__WEBPACK_IMPORTED_MODULE_1__.randomBytes) is not a function
at createPKCECodes (pkce.ts:22:1)
at AuthService.authorize (AuthService.ts:176:1)
at _callee$ (authInterceptor.jsx:9:1)
at tryCatch (runtime.js:63:1)
at Generator.invoke [as _invoke] (runtime.js:294:1)
at Generator.next (runtime.js:119:1)
at asyncGeneratorStep (axiosHelper.js:20:1)
at _next (axiosHelper.js:20:1)
at axiosHelper.js:20:1
at new Promise ()
It would be really helpful if someone can suggest some solution.
The text was updated successfully, but these errors were encountered: