Closed ghost closed 3 years ago
How is that possible ?
Are you importing OrderModule
like this ?
import { OrderModule } from 'ngx-order-pipe';
Yes, exactly like that. Very weird, never seen that issue before with other modules...
Same issue here. First i tried the NG2OrderModule, due to an old Stack post that i saw. then tried the ngx version. both had the same error that the module couldnt find @angular/core.
Same issue here FULL ERROR:
ERROR in ../node_modules/ngx-order-pipe/src/app/order-pipe/ngx-order.pipe.d.ts(1,31): error TS2307: Cannot find module '@angular/core'.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Adding it to an Angular CLI project, then importing in my shared module.
Building the project returns in:
I'm on Angular 4.