I am attempting to integrate ngx-datatable into my Angular-2 project. I have followed all the steps outlined here, but I encountered the following error:
ERROR in ./~/@swimlane/ngx-datatable/release/index.js Module not found: Error: Can't resolve 'rxjs/operators' in 'C:\Myproject\node_modules\@swimlane\ngx-datatable\release' @ ./~/@swimlane/ngx-datatable/release/index.js 8:136-161 @ ./ClientApp/app/app.shared.module.ts @ ./ClientApp/app/app.server.module.ts @ ./ClientApp/boot.server.ts
Here is a snippet from my package.json file:
{
"name": "MyProject",
"private": true,
"version": "0.0.0",
"scripts": {
"test": "karma start ClientApp/test/karma.conf.js"
},
"devDependencies": {
"@angular/animations": "4.2.5",
// More dependencies...
},
"dependencies": {
"@swimlane/ngx-datatable": "^12.0.0",
// More dependencies...
}
}
The rxjs reference is already present in the package.json, so I am unsure how to resolve this issue. If you require access to any other specific files for assistance, please do let me know.