Yarn: Can't install @types/node

Created on 5 May 2018  路  2Comments  路  Source: yarnpkg/yarn

info There appears to be trouble with your network connection. Retrying...
verbose 133.165 Performing "GET" request to "https://registry.yarnpkg.com/@types%2fnode".
verbose 163.247 Error: https://registry.yarnpkg.com/@types%2fnode: ESOCKETTIMEDOUT

but wget https://registry.yarnpkg.com/@types%2fnode is working.

yanr: 1.6.0
node: v9.11.1
OS: macOS 10.13.4

triaged

Most helpful comment

i changed SCOPE_SEPARATOR from '%2f' to '%2F' and it helped.

All 2 comments

Same for @vue/cli or any package that contains /.
npm works fine

i changed SCOPE_SEPARATOR from '%2f' to '%2F' and it helped.

Was this page helpful?
0 / 5 - 0 ratings