I believe there is a live messaging function on Forge's dashboard. Check out the bottom right of your screen. They can probably help you
Aug 25, 2021
4
Level 9
vue NPM build deployment build error - Laravel Forge on Digital Ocean
Hi there, I'm deploying a vue application, with the built in Forge functionality, from Github to Digital ocean.
It is failing with the error (I've replaced the domain with XXXX) : ERROR Error: EACCES: permission denied, rmdir '/home/forge/XXXX/dist/assets'
My build script is: cd /home/forge/XXXX git pull origin $FORGE_SITE_BRANCH
npm install npm run build
When I npm run build from the command line it runs fine.
I have tried the solution proposed in a number of forums of sudo npm install -g --unsafe-perm however that hasn't helped.
Any ideas?
Please or to participate in this conversation.