-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
On installing the latest version of getstream, we have started getting the below issue.
ERROR in ./src/js/common/pollyfills.js 4:0-38
Module not found: Error: Can't resolve 'regenerator-runtime/runtime' in '..\src\js\common'
resolve 'regenerator-runtime/runtime' in '..\src\js\common'
Parsed request is a module
using description file: ..\package.json (relative path: ./src/js/common)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
looking for modules in ..\node_modules
..\node_modules\regenerator-runtime doesn't exist
looking for modules in ..\src
..\src\regenerator-runtime doesn't exist
@ ./src/js/notifications/notification-component.js 7:0-31
webpack 5.89.0 compiled with 1 error and 25 warnings in 58947 ms
10:56:39.053Z ERROR web: Error Type= PROCESS_EXIT, Error= "About to exit with code: 1" (ctx={})
undefined undefined HTTP/1.1
Seems like it was earlier being added as an internal dependency by the @babel/runtime module. And since getstream uses it as "@babel/runtime": "^7.23.2",
, it is downloading latest version of babel-runtime which no longer includes it.
I had to manually include "regenerator-runtime" in package.json, to fix the issue.
Can you please fix this in the library?
Metadata
Metadata
Assignees
Labels
No labels