-
Notifications
You must be signed in to change notification settings - Fork 12k
Third party lib works unless I use --prod #2393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@tomhackettishida we use ng2-typeahead, works just fine with prod |
I had a similar experience, possibly with the same root cause? I published a service to inject D3 as a service (d3-ng2-service) into Angular 2, while its written in TS to published package built exports two version of the transpiled JS (ES5 target/ES 6 module) and (ES6 target/ES6 module). When importing the service into an angular-cli (beta 15) project, there is no issue, including with the I locally experimented with using Rollup to provide a UMD bundle as on of the builts, for other module loaders. The experience I had was essentially the same, when linking the 'experimental' local package version. While the error message differed in detail, it only created a runtime error with |
This was a bug we had in |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Windows 10
ng --version
. If there's nothing outputted, please runin a Terminal:
node --version
and paste the result here:angular-cli: 1.0.0-beta.11-webpack.2
node: 4.4.7
more information.
Error: Uncaught (in promise): No value accessor for form control with name: 'startDate'
I'm using a third party lib (ng2-datepicker) which works when I use ng-serve, and also works when i use ng build. But as soon as I build with --prod it stops working and I get this error. Pulling my hair out trying to solve the issue, any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: