Comments (8)
I've fixed this in version 1.6.1, please update and let us know if you run into any issues.
from exceptionless.javascript.
We are also seeing this on our end, I noticed the dependency was brought in incorrectly in our app. I'll take a look into this and update this issue.
from exceptionless.javascript.
We also have an angular 7 prod builds for our new website without any issues. Is there nay chance there is a sample starter app that is close to your app that we could try this on? Any chance you could fork it and configure Exceptionless exactly how it is in your app and I'll pull it down and debug it.
from exceptionless.javascript.
I'm double checking our setup and confirming there are no issues. I have tested this on universal apps without issue I'm wondering what the root issue is.
from exceptionless.javascript.
Thank you for responding so soon. Unfortunately I don't really have an app I can put on GitHub to demonstrate this but I do have some reproduction steps which you should be able to use to debug it. I have been able to recreate this on a fresh angular project.
ng new Test
- Update
package.json
to match the packages I have listed above - Delete
package-lock.json
andnode_modules
npm i
- Update
app.module.ts
to look like this:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { ExceptionlessClient } from 'exceptionless';
ExceptionlessClient.default.config.apiKey = '';
ExceptionlessClient.default.config.serverUrl = '';
ExceptionlessClient.default.config.updateSettingsWhenIdleInterval = -1;
ExceptionlessClient.default.config.addDataExclusions('ngDebugContext');
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
ng serve --prod --source-map
Following these steps I get the following error:
exceptionless.js.pre-build-optimizer.js:1280 Uncaught TypeError: (void 0) is not a function
at Object.lYe+ (exceptionless.js.pre-build-optimizer.js:1280)
at f (bootstrap:78)
at Module.zUnb (core.js.pre-build-optimizer.js:24324)
at f (bootstrap:78)
at Object.0 (events.js.pre-build-optimizer.js:426)
at f (bootstrap:78)
at t (bootstrap:45)
at Array.r [as push] (bootstrap:32)
at main.ffe2c0e5b2efc269ce1d.js:1
lYe+ @ exceptionless.js.pre-build-optimizer.js:1280
f @ bootstrap:78
zUnb @ core.js.pre-build-optimizer.js:24324
f @ bootstrap:78
0 @ events.js.pre-build-optimizer.js:426
f @ bootstrap:78
t @ bootstrap:45
r @ bootstrap:32
(anonymous) @ main.ffe2c0e5b2efc269ce1d.js:1
This error disappears if I remove the references to ExceptionlessClient
.
Hope this helps.
from exceptionless.javascript.
I also encountered this problem. Is there a solution?
from exceptionless.javascript.
Thank you, I try
from exceptionless.javascript.
Ok, no problem, thank you very much.
from exceptionless.javascript.
Related Issues (20)
- Include option to pass in fallback UI component into ExceptionlessErrorBoundary HOT 3
- Can't Use exceptionless/react on Next.js project HOT 4
- Feature Request: Add CJS Support HOT 14
- Error reported in vite3. x HOT 2
- Using ExceptionlessClient causes Node script not to exit HOT 5
- Using Exceptionless for nodejs causes problems with AWS Lambda functions HOT 7
- Update docs to showcase session tracking and es6 syntax
- Repeat send options HTTP method HOT 1
- Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. HOT 6
- Breadcrumbs HOT 3
- url parse is wrong HOT 5
- How to disable global exception handling HOT 6
- Where i can find the log HOT 4
- make submitSessionEnd identity parameter optional and look up the user identity. HOT 1
- npm git error with 1.6.2 HOT 1
- this package couldn't work on React Native app HOT 9
- Recommended CDN is end of life HOT 3
- Import/Require From dist folder is confusing HOT 1
- Testing New JavaScript Workspaces Packages HOT 5
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 exceptionless.javascript.