Comments (7)
Additionally: this happens when trying to bump aws-rum-web from 1.12.0 to 1.13.2
For context, we have a vue app which depends on aws rum (vue3, esm, webpack).
with 1.13.2
a workaround is this:
import { AwsRum } from 'aws-rum-web/dist/es/src';
... which is something I don't want to do. It seems import root is missing index file.
from aws-rum-web.
Patched v1.13.3 is available on NPM.
from aws-rum-web.
Thanks @qhanam unfortunately I just tried v1.13.3, got the following error:
TypeError: Cannot read properties of undefined (reading 'version')
at Object. (/app/node_modules/aws-rum-web/dist/cjs/src/event-cache/EventCache.js:19:47)
looks like it trying to access a 'default' property here which causes it to fail:
var webClientVersion = version_json_1.default.version;
from aws-rum-web.
Yes, seeing this too.
Maybe related to #363? ("fix: Transpile @AWS-SDK to ES5.")
from aws-rum-web.
Thanks for raising this! We've deprecated v1.13.2 in NPM, and are working on a patch.
from aws-rum-web.
@Naes0 what build system and module (i.e., es/cjs) are you using?
from aws-rum-web.
@qhanam We're using Next.js 13 (not turbopack) so webpack 5 and cjs on the server and esm in the browser :)
from aws-rum-web.
Related Issues (20)
- [General Inquiry]: Should errors be limited by 'sessionEventLimit'? HOT 5
- [Bug]: docs example incorrect name for angular errohandler import HOT 1
- [General Inquiry]: is unauthenticated user pool secure ? HOT 1
- [Bug]: Cannot override title attribute in metadata HOT 3
- [Bug]: CWR: Failed to retrieve credentials from STS: TypeError: Cannot read properties of undefined (reading 'split') HOT 1
- [Feature Request]: create a separate AwsRum orchestrator to use with proxy HOT 1
- [Bug]: RUM stopped sending metrics after some user idle time HOT 2
- fix: optionally write HttpEvent.statusText
- [Feature Request]: optionally persist custom attributes
- [Feature Request]: collect metadata for connection type
- [Feature Request]: offline support HOT 5
- [General Inquiry]: Cloudwatch CDN NextJS HOT 1
- [General Inquiry]: missing stacktrace when recording js errors with RUM HOT 2
- [Feature Request]: Support for native mobile apps HOT 2
- [Feature Request]: error-free session_count V.S. No. of sessions experienced error
- [Feature Request]: Easier error ignore function HOT 1
- [Bug]: Use of moved dependancies HOT 1
- [Bug]: CloudWatch Data Protection Policy not applied in RUM UI HOT 1
- [Feature Request]: Error.cause
- [Bug]: CWR: Failed to retrieve Cognito OpenId token: TypeError: Failed to fetch HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-rum-web.