bergben/ng2-img-tools

Cannot find module 'ng2-pica/ng2-pica'

Closed this issue · 6 comments

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:

  1. beneath BrowserModule add: ", Ng2ImgMaxModule"
  2. add import: { Ng2ImgMaxModule } from 'ng2-img-max'; at the top of the page

ng serve

+1, same error here

same error here

+1, Same here

Same error

should be fixed with the most recent version now! :)