-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugsnag.ts in npm package #631
Comments
This reason this file was added is discussed in #523. Maybe Angular's AOT mode is fixed now and we can remove it… |
What version of Angular are you using? And how are you running it (in particular, things like Some more information about your setup will help us assist you. Thanks! |
I'm building it in pretty silly way, just |
@bengourley , it looks that I found a solution. I might be wrong but the fix 0127ac4 is incorrect. Instead package.json should be updated with: |
Hi @GDreyV Thanks for the PR! Our team will review it and follow up with any comments there. |
Fixed in v6.4.3 |
By some reason npm package v 6.4.2 has extra empty .ts file in @bugsnag\browser\dist\types\bugsnag.ts which causes error on build Angular app:
ERROR in ./node_modules/@bugsnag/browser/dist/types/bugsnag.ts
Module build failed (from ./node_modules/@ngtools/webpack/src/index.js):
Error: /root/src/frontend/node_modules/@bugsnag/browser/dist/types/bugsnag.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
The text was updated successfully, but these errors were encountered: