Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

Unexpected value 'IonicImageViewerModule' when build with --prod #49

Closed RedEars closed 7 years ago

RedEars commented 7 years ago

As already discussed here https://github.com/Riron/ionic-img-viewer/issues/9, this issue still is present when using --prod. With --dev it works, but it should also work with --prod.

Error: Unexpected value 'IonicImageViewerModule' in path/node_modules/ionic-img-viewer/dist/src/module.d.ts imported by the module 'AppModule'

Setup Info: Cordova CLI: 6.5.0 Ionic Framework Version: 3.1.1 Ionic CLI Version: 2.2.3 Ionic App Lib Version: 2.2.1 Ionic App Scripts Version: 1.3.4 ios-deploy version: 1.9.1 ios-sim version: 5.0.13 OS: OS X El Capitan Node Version: v7.7.3 Xcode version: Xcode 8.2.1 Build version 8C1002

RedEars commented 7 years ago

Ok so for some reason the metadata Files were not created. After adding them it works. Maybe something with my npm