Skip to content

Getting error EACCES: permission denied, scandir "*" #34

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

Open
glook opened this issue Aug 17, 2020 · 3 comments
Open

Getting error EACCES: permission denied, scandir "*" #34

glook opened this issue Aug 17, 2020 · 3 comments

Comments

@glook
Copy link
Contributor

glook commented Aug 17, 2020

Hello, @Obi-Dann , while deploying my project which located in /var/www/projectName/deployer/releases/RELEASE_NUMBER i'm getting this error.

CleanShot 2020-08-17 at 13.43.50

Owner of folder /var/www/projectName and /var/www is different. But i can't understand why typings-for-css-modules-loader need to access files that out of my project folder.

@glook
Copy link
Contributor Author

glook commented Aug 17, 2020

Found out, that problem in prettier.resolveConfig function that tries to find config path recursively. I'm added new configFile option where you can specify path to prettier config file.
#35

@Obi-Dann
Copy link
Contributor

Hi @glook thanks for reporting the issue!
Out of interest, where is the prettier config file located in your environment? Just wondering if there's an opportunity to apply better defaults when calling prettier.resolveConfig
It'd be nice to get a more meaningful error message when applying prettier or resolving prettier config fails.

@glook
Copy link
Contributor Author

glook commented Aug 19, 2020

im using this webpack configuration https://github.com/glook/webpack-typescript-react
.prettierrc is located in root.

img

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

2 participants