Skip to content
This repository was archived by the owner on Aug 11, 2022. It is now read-only.
This repository was archived by the owner on Aug 11, 2022. It is now read-only.

Windows: install into C:\bin, error with install -g #1584

@hitsthings

Description

@hitsthings

I installed node into C:\bin initially, and when I installed npm it created a C:\lib folder to go with it - seemed successful.

Then I attempted to

npm install -g node-inspector

I got an error about not being able to open

"C:\bin\C:\lib\node-modules\...." (notice the lib folder path being appending to the bin folder path)

It came from within the module.js file. Unfortunately I didn't save the full console log.

Switched my node path to C:\Program Files\node\bin, reinstalled npm, and everything worked fine.

Windows 7 64-bit

Sorry the bug report is lacking details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions