Closed jsertx closed 7 years ago
Yeah, there are quite some files missing from the dependency. I would recommend to clear the npm cache and try again
@BorntraegerMarc I tried the following:
1) Uninstall the package:
npm uninstall @vaadin/angular2-polymer
2) Clear the cache of NPM
npm cache clear
3) Install forcing to download again the resource
npm install --force @vaadin/angular2-polymer
And still I have the same result, the funny fact is that it worked a few days ago in other project, but it was not an angular-cli one.
There was an deprecated way to install angular cli in the docs. changed it now to npm install -g @angular/cli
does that help you?
@BorntraegerMarc, It's curious, because I did this way, but now it worked. Many thanks!
I followed the documentation for using angular-polymer with angular-cli, but I cannot get it working.
I do everything, step by step, and I finally get:
ERROR in {app_root_dir}/src/app/app.module.ts (7,32): Cannot find module '@vaadin/angular2-polymer'.)
Also, I find something interesting, in the folder node_modules/@vaadin/angular2-polymer there is no polymer-element file, only another node_modules folder with another folder caled rxjs inside.