Giter Site home page Giter Site logo

Comments (7)

lautarobock avatar lautarobock commented on May 21, 2024 4

Responding to myself,

npm install --save @types/openlayers

from ngx-openlayers.

quentin-ol avatar quentin-ol commented on May 21, 2024

'''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.

from ngx-openlayers.

lautarobock avatar lautarobock commented on May 21, 2024

sorry, when I sayd "responding to me" and closing the issue I mean that is solved :)

from ngx-openlayers.

quentin-ol avatar quentin-ol commented on May 21, 2024

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!

from ngx-openlayers.

lautarobock avatar lautarobock commented on May 21, 2024

hey @quentin-ol doing npm install angular2-openlayers should install openlayers and `@types/openlayers' too?
not in my case

from ngx-openlayers.

boom235 avatar boom235 commented on May 21, 2024

@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.

from ngx-openlayers.

pieterdb4477 avatar pieterdb4477 commented on May 21, 2024

This also solves my problem mentioned in #81

from ngx-openlayers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.