composer.json as follows:{
"dependencies": {
"vuepress": "^1.0.0-rc.1"
},
"scripts": {
"docs:dev": "vuepress dev",
"docs:build": "vuepress build"
}
}
yarn docs:buildBuild to run and create appropriate files in .vuepress/dist
Build begins but throws permission denied error after the Apply plugin section.

1.0.0-alpha.47, the following is the output of npx vuepress info in my VuePress project:
Note: Running yarn docs:dev works properly.
try sudo yarn docs:build?
try
sudo yarn docs:build?
No. Do not run it with sudo!
It tried to delete your entire /var directory, which would break your entire system. You don't want to force it to do that.
thanks @DvdGiessen , my fault ...
How to reproduce it?
@faasie Is this issue still relevant?
Sorry, I meant to update this.
It has been resolved. I ended up putting my docs in the /docs folder and it worked. shrug
Thanks for the work on vuepress. I do love working with it!
Sorry, I meant to update this.
It has been resolved. I ended up putting my docs in the /docs folder and it worked. _shrug_
Thanks for the work on vuepress. I do love working with it!
how do you deal with it? @faasie
Most helpful comment
No. Do not run it with sudo!
It tried to delete your entire
/vardirectory, which would break your entire system. You don't want to force it to do that.