Akin Dönmez
Akin Dönmez

Reputation: 363

npm installing the wrong version

After i execute npm install, i see that the version of the typings is 1.0.3. But in my package.json, i wrote the exacty the verion that i want. Any idea what is going on ? is npm always trying to install the latest ?

"devDependencies": {
    "nodemon": "^1.9.2",
    "promise": "^7.1.1",
    "request": "^2.72.0",
    "require-dir": "^0.3.0",
    "typescript": "^1.8.7",
    "typings": "^0.7.12"
  }

When i run :

typings -v
1.0.3

Upvotes: 2

Views: 7089

Answers (1)

ET-CS
ET-CS

Reputation: 7200

Try remove the ^ and write only:

"typings": "0.7.12"

Upvotes: 8

Related Questions