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

Error on build #80

Closed
saneef opened this issue Nov 13, 2022 · 3 comments
Closed

Error on build #80

saneef opened this issue Nov 13, 2022 · 3 comments

Comments

@saneef
Copy link
Contributor

saneef commented Nov 13, 2022

When I run npm run build, I'm getting error:

[!] (plugin copy) Error: EACCES: permission denied, mkdir '/var/www'

It looks like it is caused by the path set on this line of rollup.config.js, which is not there in my system.

@neocarto
Copy link
Member

Ok. I use this for my tests. What do you suggest?

@saneef
Copy link
Contributor Author

saneef commented Nov 17, 2022

Ideally don't write anything outside of the project directory. If you need to retain the path /var/www/html/npm_test/bertin/index.min.js for you local serving or test, does a soft link from than folder to the built file within the project work?

@neocarto
Copy link
Member

Okay, I get it. I'll remove that in the next patch.
It's effectively useless. I can do otherwise.
Thanks for your advice.

neocarto added a commit that referenced this issue Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants