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
Build failed as a result of rrweb-snapshot library as sub-dependency of @amplitude/plugin-session-replay-browser
Possible Solution
Steps to Reproduce
Once I trying to npm run build I got this.
./node_modules/@amplitude/rrweb-snapshot/dist/rrweb-snapshot.js 236:15
Module parse failed: Unexpected token (236:15)
File was processed with these loaders:
* ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| if (!n) return -1;
| const id = (_a = this.getMeta(n)) == null ? void 0 : _a.id;
> return id ?? -1;
| }
| getNode(id) {
The text was updated successfully, but these errors were encountered:
Any updates on this issue @jxiwang ? We’re currently using "@amplitude/analytics-browser": "^2.11.9" and "@amplitude/plugin-session-replay-browser": "^1.8.2" and are encountering the same build problem...
Expected Behavior
Build success
Current Behavior
Build failed as a result of rrweb-snapshot library as sub-dependency of @amplitude/plugin-session-replay-browser
Possible Solution
Steps to Reproduce
Once I trying to npm run build I got this.
The text was updated successfully, but these errors were encountered: