Skip to content

npm install types-registry: Command failed #18344

Closed
@mjbvz

Description

@mjbvz

TypeScript Version: 2.5.2

From microsoft/vscode#24961 (comment)

viktor-wolf reported that even after setting typescript.npm, they were seeing messages about the typings installer failing. Here is the log ti-6028.txt. The failure is:

Error updating types-registry package: Command failed: "/home/viktor/.nvm/versions/node/v8.4.0/bin/npm" install --ignore-scripts types-registry
Types registry file '/home/viktor/.cache/typescript/2.5/node_modules/types-registry/index.json' does not exist
Sending response: {"kind":"event::initializationFailed","message":"Command failed: \"/home/viktor/.nvm/versions/node/v8.4.0/bin/npm\" install --ignore-scripts types-registry"}
Response has been sent.

@viktor-wolf can you please try running "/home/viktor/.nvm/versions/node/v8.4.0/bin/npm" install --ignore-scripts types-registry on the command line and sharing the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptVS Code TrackedThere is a VS Code equivalent to this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions