0

I am getting the following error.

typings install dt~angular --global typings ERR! message Attempted to    compile "angular" as a global module, but it l ooks like an external    module. You'll need to remove the global option to continu e. typings    ERR! typings ERR! cwd C:\Users\Debjit typings ERR! system Windows_NT
   6.2.9200 typings ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Debjit\\A    ppData\\Roaming\\npm\\node_modules\\typings\\dist\\bin.js" "install"    "dt~angular " "--global" typings ERR! node -v v6.9.1 typings ERR!    typings -v 2.1.0 typings ERR! typings ERR! If you need help, you may    report this error at: typings ERR!    <https://github.com/typings/typings/issues>

While the follwing modules are there

npm list -g --depth=0

+-- bower@1.7.9

+-- cordova@6.1.1

+-- gulp@3.9.1

+-- ionic@1.7.14

+-- typescript@2.1.4    

`-- typings@2.1.0
Cœur
  • 37,241
  • 25
  • 195
  • 267
Rafique Ahmed
  • 117
  • 2
  • 8
  • Possible duplicate of [typings always complaining about global module](http://stackoverflow.com/questions/37357619/typings-always-complaining-about-global-module) – Rob Lourens Jan 20 '17 at 00:59
  • the solution in the ealier answer does not work. I also posted in github it says "It is no longer a global definition. " I am bit confused. – Rafique Ahmed Jan 20 '17 at 02:50
  • In any case I recommend switching to `@types` – Rob Lourens Jan 20 '17 at 17:46

0 Answers0