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
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
At the time of installing the datatables and importing it into the app.module and running the ng serve command, the following error occurs:
Error
angular-datatables.js:1352 Uncaught ReferenceError: angular is not defined
at Object../node_modules/angular-datatables/dist/angular-datatables.js (angular-datatables.js:1352)
at __webpack_require__ (bootstrap:76)
at Object../node_modules/angular-datatables/index.js (index.js:1)
at __webpack_require__ (bootstrap:76)
at Object../src/app/modules/customers/customers.module.ts (customers.component.ts:8)
at __webpack_require__ (bootstrap:76)
at Object../src/app/app.module.ts (app.component.ts:8)
at __webpack_require__ (bootstrap:76)
at Object../src/main.ts (environment.ts:16)
at __webpack_require__ (bootstrap:76)
There were some fixes in the older versions (v0.6.X), so I published those version in npm.
However, npm seems to work using date to fetch what version is the latest, instead of using semantic version.
I published a new version v6.0.1, so executing npm i angular-datatables should bring you the version of angular-datatables for Angular (not AngularJS).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm submitting a...
Current behavior
At the time of installing the datatables and importing it into the app.module and running the
ng serve
command, the following error occurs:Error
Environment
The text was updated successfully, but these errors were encountered: