Reputation: 111
Installed typings globally
> npm install typings -g
Installed several typings
> typings install dt~angular --save --global
> typings install dt~angular-ui-router --save --global
> typings install dt~ui-grid --save --global
> typings install npm~lodash --save
All works fine, typings.json file is created together with typings folder. And when I run "typings install" from command line I get expected output
> typings install
├── [email protected]
├── angular (global)
├── angular-ui-router (global)
└── ui-grid (global)
Then I add npm script to automate a little bit project deployment
"scripts": {
"install": "typings install"
},
But when I try to run "npm install" only module typings are installed. Global typings are completely ignored
> typings install
└── [email protected]
Tried to add --global flags into package.json but without success.
Upvotes: 0
Views: 1072
Reputation: 15589
Most likely you have a LOCAL version of typings
that is not 1.3.2
Run npm install -D typings@latest
Upvotes: 1