Skip to content

Cannot find module 'buffer-shims' #3131

@watashiSHUN

Description

@watashiSHUN

Please provide us with the following information:

OS?

Ubuntu 16.04.1 LTS

Versions.

angular-cli: 1.0.0-beta.19-3
node: 4.2.6
os: linux x64

Repro steps.

running npm install -g angular-cli then run ng --help

The log given by the failure.

Cannot find module 'buffer-shims'
Error: Cannot find module 'buffer-shims'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
.....

Mention any other details that might be useful.

I resolved it by running npm install -g buffer-shims, but I would assume it should be done during npm install -g angular-cli


Thanks! We'll be in touch soon.

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