Can't get React 15.6.1 type definitions: "ERROR: Repository not found."

Can't get React 15.6.1 type definitions: "ERROR: Repository not found."

我正在尝试安装 React 15.6.1 的类型定义,但出现此错误:

$ npm install --save @types/react
npm ERR! git clone git@github.com:types/react Cloning into bare repository '/Users/blablabla/.npm/_git-remotes/git-github-com-types-react-e0f5ee6a'...
npm ERR! git clone git@github.com:types/react ERROR: Repository not found.
npm ERR! git clone git@github.com:types/react fatal: Could not read from remote repository.
npm ERR! git clone git@github.com:types/react 
npm ERR! git clone git@github.com:types/react Please make sure you have the correct access rights
npm ERR! git clone git@github.com:types/react and the repository exists.
npm ERR! addLocal Could not install types/react
npm ERR! Error: ENOENT, stat 'types/react'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 16.7.0
npm ERR! command "/Users/blablabla/.nvm/v0.10.32/bin/node" "/Users/blablabla/.nvm/v0.10.32/bin/npm" "install" "--save" "@types/react"
npm ERR! cwd /Users/blablabla
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! path types/react
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/blablabla/npm-debug.log
npm ERR! not ok code 0

我认为我正确地遵循了教程中的说明:https://www.typescriptlang.org/docs/handbook/react-&-webpack.html

有什么想法吗?我在网络上的其他地方看到过同样的命令,所以我很困惑为什么我找不到其他人报告同样的问题。

是否移动了 "git@github.com:types/react" 存储库?

发现问题。我正在使用 nvm 来管理节点版本,不知何故我一直在使用 0.10.48.