-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
ReferenceError: MouseEvent is not defined (10.0.0) #893
Comments
Can you see which file its in thats causing this? I temp made it in any in 10.0.1 |
The only thing that fully worked for me was the same solution as in https://github.com/valor-software/ngx-bootstrap. Changing all the MouseEvent types and KeyboardEvent types to any and removing the https://github.com/swimlane/ngx-datatable/blob/master/src/events.ts file. |
This is how i fixed this issue in the webpack.config.js |
how did you add this to your webpack.config.js exactly? how are you compiling the ts-files? use @ngtools/webpack or ts-loader? |
@crebuh here is my webpack.config.js file `const path = require('path'); module.exports = (env) => {
}; |
I'm submitting a ... (check one with "x")
Current behavior
When I make a build for NodeJS with version 10.0.0 I get the following error when I try to run the bundle.
This only happens on JiT builds and not on AoT builds.
Expected behavior
The same behavior as with version 9.3.1 where this issue wasn't present.
Reproduction of the problem
Angular universal build with ngx-datatable version 10.0.0 (JiT build for the server).
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: