Definitelytyped: @types/clone and @types/node npm modules not in npm registry

Created on 8 Aug 2016  路  8Comments  路  Source: DefinitelyTyped/DefinitelyTyped

Getting a 404 when trying to npm install @types/clone and npm install @types/node which is breaking our prod build.

Any word on when this will be resolved or work arounds?

Thanks

@types

Most helpful comment

waiting a fix, a workaround is to add this line in your .npmrc to force @types packages to be downloaded from npm public registry :
@types:registry=https://registry.npmjs.org

All 8 comments

Same issue here.

It seems related to #10506 as when using npm public registry it works but get a 404 with our private npm registry.

+1

+1
it is affecting the installation of PolymerLabs/dom5

waiting a fix, a workaround is to add this line in your .npmrc to force @types packages to be downloaded from npm public registry :
@types:registry=https://registry.npmjs.org

Installing from the public registry was not working for me. I am using n to switch node version, and it did not work in v4.4.7 or v6.3.1. However, I did npm up -g npm while on node 6.3.1. Then the @types/clone install worked for me. And subsequently works in either node 4.4.7 or 6.3.1, with the npm version that n provides. It seems like the node_modules in /usr/local/lib/node_modules/npm/node_modules might have been stale and n wasn't properly replacing them?

cc/ @RyanCavanaugh

//cc: @andy-ms

Should be fixed now. See Microsoft/types-publisher#116

Was this page helpful?
0 / 5 - 0 ratings