ng2-select2
ng2-select2 copied to clipboard
Uncaught Error: No provider for Options!
Hello When trying to deploy in production with nodejs in Heroku get the following error:
vendor.bundle.js:3564 Uncaught Error: No provider for Options!
at injectionError (vendor.bundle.js:2025) [angular]
at noProviderError (vendor.bundle.js:2063) [angular]
at ReflectiveInjector_._throwOrNull (vendor.bundle.js:3564) [angular]
at ReflectiveInjector_._getByKeyDefault (vendor.bundle.js:3603) [angular]
at ReflectiveInjector_._getByKey (vendor.bundle.js:3535) [angular]
at ReflectiveInjector_.get (vendor.bundle.js:3404) [angular]
at AppModuleInjector.webpackJsonp.147.AppModuleInjector.createInternal (main.bundle.js:627) [angular]
at AppModuleInjector.NgModuleInjector.create (vendor.bundle.js:4331) [angular]
at NgModuleFactory.create (vendor.bundle.js:4304) [angular]
at :4200/vendor.bundle.js:5542:61 [angular]
at Object.onInvoke (vendor.bundle.js:4919) [angular]
at Zone.run (polyfills.bundle.js:2815) [<root> => angular]
I know that it is old one, but maybe this could help someone: https://stackoverflow.com/questions/43219039/how-to-debug-angular-2-aot-failures/43410786#43410786