VadimDez / ngx-order-pipe

▼ Angular 5+ orderBy pipe
https://vadimdez.github.io/ngx-order-pipe/
MIT License
243 stars 57 forks source link

Cannot find module @angular/core #18

Closed ghost closed 3 years ago

ghost commented 7 years ago

Adding it to an Angular CLI project, then importing in my shared module.

Building the project returns in:

ERROR in C:/projects/client/node_modules/ngx-order-pipe/dist/src/ngx-order.pipe.d.ts (1,31): Cannot find module '@angular/core'.

I'm on Angular 4.

VadimDez commented 7 years ago

How is that possible ? Are you importing OrderModule like this ?

import { OrderModule } from 'ngx-order-pipe';
ghost commented 7 years ago

Yes, exactly like that. Very weird, never seen that issue before with other modules...

teraldo79 commented 6 years ago

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.

bayanAbuawad commented 5 years ago

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'.

stale[bot] commented 4 years ago

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.