Skip to content

Issue and workaround for moon permissions bug #275

@anon-dev-1

Description

@anon-dev-1

I've followed Moon guide here https://moonjs.org/installation
and got error

Error: EACCES: permission denied, open '/usr/local/lib/node_modules/moon-cli/dist/moon-template.tar.gz'
It's a bug. It's because we installed Moon globally (using command npm install -g moon-cli) under root user and tried to use it under user with less permissions.
So for those who will fix this, close issue after fixing.
And for those who will try to ignore this, you can install Moon locally via npm install moon-cli and use command ./node_modules/.bin/moon create my-app, it worked for me in this way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions