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

Build fails #44

Closed dottodot closed 6 years ago

dottodot commented 6 years ago

When running a prod with or without aot I get an error of

ERROR in /src/$$_gendir/node_modules/ng-inline-svg/lib/inline-svg.module.ngfactory.ts (11,21): Cannot find module './inline-svg.component.ngfactory'.
ERROR in /src/$$_gendir/app/app.module.ngfactory.ts (14,21): Cannot find module '../../$$_gendir/node_modules/ng-inline-svg/lib/inline-svg.component.ngfactory'.
ERROR in /src/$$_gendir/app/app-server.module.ngfactory.ts (15,21): Cannot find module '../../$$_gendir/node_modules/ng-inline-svg/lib/inline-svg.component.ngfactory'.
ERROR in /src/$$_gendir/app/app-browser.module.ngfactory.ts (15,21): Cannot find module '../../$$_gendir/node_modules/ng-inline-svg/lib/inline-svg.component.ngfactory'.
dottodot commented 6 years ago

Sorry ignore this, I think it's something to do with the versions of angular and angular-cli that I'm using

arkon commented 6 years ago

The only suggestion I have is deleting node_modules and reinstalling everything.