arkon / ng-inline-svg

[Inactive] Angular directive for inserting an SVG file inline within an element.
https://echeung.me/ng-inline-svg/
MIT License
210 stars 88 forks source link

Class not detected from node modules #130

Closed Ramees-Raja closed 4 years ago

Ramees-Raja commented 4 years ago

T am working in angular 8 with this 'ng-inline-svg' package , My project was working fine, But today I reinstall all my npm packages in this project, now I displaying Error ERROR in src/app/app.module.ts(14,33): error TS2307: Cannot find module 'ng-inline-svg'. when i serve the project, but the folder ng-inline-svg already existing in my node modules.

When I replace the node modules folder with my old backup node modules folder, There is no problem, I think this is an update related issue

hope you will fix it soon, Thank you....

Refferances

  1. error Message in bash when trying o serve project image

  2. Error in vs code image

  3. In node modules image

arkon commented 4 years ago

Do you have v9.2.1 installed somehow? If so, install v9.2.2.

AndrewLTaft commented 4 years ago

It appears to be related to v8.6.2. I changed our package version to 8.6.1 and no longer see the issue. On npm the number of files in 8.6.2 dropped from 35 to 11. I think there was an issue with the packaging.

arkon commented 4 years ago

You're right, I messed up that release. I'll need to fix that tonight.

arkon commented 4 years ago

Published v8.6.3.