Skip to content

Not working on Mac: ”Error: package.json parse error: ENOENT: no such file or directory" #4

Description

@Hiroyuki-Anzai

OS X El Capitan / OS X Yosemite
Node v8.9.3 (npm v5.5.1)
cdp-cli latest (cdp 0.1.2)

When I execute cdp command ($ cdp -h) of cdp-cli on Mac, error occured.
Error is the following :


[Case nodebrew v0.9.8]
Error: package.json parse error: ENOENT: no such file or directory, open '/Users/xxxx/.nodebrew/current/package.json'
:
:


[Case nvm v8.9.3]
Error: package.json parse error: ENOENT: no such file or directory, open '/Users/xxxx/.nvm/versions/node/v8.9.3/package.json'
:
:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions