Skip to content

Error: Cannot find module './lib' #3606

Description

@stevenvachon

Just installed node v5 and running npm in command line produces said error.

OS X 10.10.5

How to Fix

(For now)
(Edited in by @Fishrock123)

rm -rf /usr/local/lib/node_modules/npm

Metadata

Metadata

Assignees

Labels

confirmed-bugIssues and PRs for confirmed bugs.installIssues and PRs related to installing Node.js and its installers.npmIssues and PRs related to the npm client dependency or the npm registry.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions