Cannot find module 'ng2-pica/ng2-pica'
Closed this issue · 6 comments
senategit commented
simpsojo commented
I see the same error:
ERROR in node_modules/ng2-img-max/dist/src/img-maxpx-size.service.d.ts(2,32): error TS2307: Cannot find module 'ng2-pica/ng2-pica'.
To reproduce (using latest angular-cli):
ng new test
cd test
npm install ng2-img-tools
npm install
add import to app.module.ts:
- beneath BrowserModule add: ", Ng2ImgMaxModule"
- add import: { Ng2ImgMaxModule } from 'ng2-img-max'; at the top of the page
ng serve
flashjpr commented
+1, same error here
oceankai commented
same error here
vishnupe commented
+1, Same here
Shakell commented
Same error
bergben commented
should be fixed with the most recent version now! :)