Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting EACCES: permission denied when trying to init #172

Closed
ghost opened this issue Dec 19, 2018 · 1 comment
Closed

Getting EACCES: permission denied when trying to init #172

ghost opened this issue Dec 19, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 19, 2018

Tell us about the issue you are experiencing

When I try to run astrum init /pattern-library within the folder that I am trying use, I get this error:

Error: Error: EACCES: permission denied, mkdir '/pattern-library'
Error: Error: EACCES: permission denied, mkdir '/pattern-library'
/usr/local/lib/node_modules/astrum/manager/utils.js:31
            throw(new Error(chalk.red("No data.json file found in " + _this.$config.path )));
            ^

Error: No data.json file found in /pattern-library
    at Object.init (/usr/local/lib/node_modules/astrum/manager/utils.js:31:19)
    at /usr/local/lib/node_modules/astrum/manager/utils.js:58:27
    at doneOne (/usr/local/lib/node_modules/astrum/node_modules/fs-extra/lib/copy/ncp.js:237:23)
    at onError (/usr/local/lib/node_modules/astrum/node_modules/fs-extra/lib/copy/ncp.js:229:12)
    at /usr/local/lib/node_modules/astrum/node_modules/fs-extra/lib/copy/ncp.js:147:23
    at FSReqCallback.oncomplete (fs.js:148:20)

What behaviour would you expect?

Was hoping it would run as expected..?

How can this issue be replicated?

Screenshots / Screencast

Your environment

Platform: MacOS
OS Version: Mojave
Node Version: 11.1.0
NPM Version: 6.4.1
Astrum Version: 1.9.5

@ghost ghost closed this as completed Dec 19, 2018
@ghost
Copy link
Author

ghost commented Dec 19, 2018

Actually, disregard. Looks like there was something messed up on my end with my directory structure.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants