0

我收到以下错误。

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>

虽然有以下模块

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
4

0 回答 0