Closed lautarobock closed 7 years ago
Responding to myself,
npm install --save @types/openlayers
'''npm install''' without argument install all dependencies, including those listed as devDependencies. I've looked at '''package.json''' and it does list '''@types/openlayers'''. Weird that you had to manually issue an '''npm install''' command.
sorry, when I sayd "responding to me" and closing the issue I mean that is solved :)
Hey @lautarobock, the thing is the way you solved the issue should not make a difference, actually.
the npm install
command should have installed this package already. The command that you report as solution is redundant, hence my comment.
Anyways, as you said, it's solved, so great! Happy coding with angular2-openlayers!
hey @quentin-ol doing npm install angular2-openlayers
should install openlayers
and `@types/openlayers' too?
not in my case
@quentin-ol I just had the exact same problem. After installing angular2-openlayers via npm I had to install openlayers (not sure if this helped solving the problem) and @types/openlayers. The last install of @types/openlayers definently solved the problem.
This also solves my problem mentioned in #81
I have no problem with angular-cli@beta, but after update to 1.0 I cant bui;d. Here a repo with a project that reproduce https://github.com/lautarobock/angular2-openlayers-bug
and more, please see in https://github.com/lautarobock/angular2-openlayers-bug/blob/master/README.md