typings WARN hastypings Typings for "moment" already exist in "node_modules\moment\moment.d.ts". You should let TypeScript resolve the packaged typings and uninstall the copy installed by Typings
typings ERR! message Unable to find "moment" ("npm") in the registry.
typings ERR! message However, we found "moment" for 1 other source: "dt"
typings ERR! message You can install these using the "source" option.
typings ERR! message We could use your help adding these typings to the registry: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/moment/versions/latest responded with 404, expected it to equal 200
typings ERR! cwd E:\oscchina\Taurus
typings ERR! system Windows_NT 10.0.10586
typings ERR! command "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\typings\\dist\\bin.js" "install" "--save" "moment"
typings ERR! node -v v4.4.5
typings ERR! typings -v 1.3.1
typings ERR! If you need help, you may report this error at:
typings ERR! <https://github.com/typings/typings/issues>
@qq83387856 I can install it with the --global and it works:
typings install dt~moment --global --save
Installing it globally really isn't a solution. Since it installs globally just not locally it would definitely be preferred to have a "real" fix for this.
@mikepc This is typings not npm. Please take a look at the docs of typings:
https://github.com/typings/typings
You don't need typings for moment anymore!
Most helpful comment
@qq83387856 I can install it with the
--globaland it works:typings install dt~moment --global --save