Skip to content

npm install types-registry: Command failed #18344

Closed

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

Activity

  1. added
    Needs InvestigationThis issue needs a team member to investigate its status.
    and removed
    Needs More InfoThe issue still hasn't been fully clarified
    on Sep 11, 2017
  2. chrmarti commented on Sep 11, 2017

    @chrmarti

    It would help if the tsserver included more details of the error, like exit code and stdout/-err of npm.

  3. added
    BugA bug in TypeScript
    VS Code TrackedThere is a VS Code equivalent to this issue
    and removed
    Needs InvestigationThis issue needs a team member to investigate its status.
    VS Code TrackedThere is a VS Code equivalent to this issue
    on Oct 9, 2017
  4. mhegazy commented on Oct 9, 2017

    @mhegazy
    Contributor

    Andy (Andrewkraft) (@Andy-MS) is there any additional logging we can add here?

  5. mhegazy commented on Oct 11, 2017

    @mhegazy
    Contributor

    closing for now. please reopen as we get more info on the new release.

  6. locked and limited conversation to collaborators on Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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