marcushellberg / angular2-polymer-tutorial

Simple project using the @vaadin/angular2-polymer directive to use Polymer components in an Angular 2 application
0 stars 2 forks source link

add @angular/forms barrel to system-config.ts #3

Open stefanaerts opened 7 years ago

stefanaerts commented 7 years ago

Hi Marcus , I just forked this repo and after npm install/bower install/ng serve i got the following error: zone.js:484 Unhandled Promise rejection: Error: XHR error (404 Not Found) loading http://localhost:4200/vendor/@angular/forms at XMLHttpRequest.wrapFn [as _onreadystatechange] (http://localhost:4200/vendor/zone.js/dist/zone.js:794:30

after i added @angular/forms in system-config.ts in the angular-cli barrel section it worked.

Kind regards, Stefan.