• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue node permissions problem

Michael-456

New Pleskian
Server operating system version
Windows Server 2022 Datacenter 21H2
Plesk version and microupdate number
Plesk Obsidian v18.0.56_build20231027.01
Hello guys, I have had this problem for a while, when I deploy a Laravel application there is a problem in vite, I can’t build my applications with npm run build, I have tried everything, I can

I have find out that it may be a permissions problem, because in my administrator user out of plesk in my cmd it builds and works fine in the server. but in the same machine using the user that plesk created connected as remoted desktop, it doesn’t work and I get the same problem.

Does anyone had had this issue, or know how could I fix it?

This only happen on Windows Server, in Linux servers build fine.
 

Attachments

  • laravel problema.png
    laravel problema.png
    124 KB · Views: 18
Double check that your c:\Inetpub\vhosts\sb-dns.site\httpdocs folder has both IIEUser has read & execute permission and your specific system user (which you can find by going to the subscription and looking at the bottom where it says "system user") has modify permission and is applied to all files and sub directories because it's saying it can't read the file located in httpdocs\vite.config.js (which requires read & execute permission).
 
Double check that your c:\Inetpub\vhosts\sb-dns.site\httpdocs folder has both IIEUser has read & execute permission and your specific system user (which you can find by going to the subscription and looking at the bottom where it says "system user") has modify permission and is applied to all files and sub directories because it's saying it can't read the file located in httpdocs\vite.config.js (which requires read & execute permission).
hello thanks for your answer, I have checked permissions during the hole day. it did't work, this is so fustrating :(

I have also checked older versions of laravel and those which use laravel mix and webpack works complety fine and normal so, I guest the plesk user is been created missing an spesific feature o permition to run vite-build propertly on windows.

failed to load config from C:\inetpub\vhosts\sb-dns.site\asd\vite.config.js
error when starting dev server:
Error: The service was stopped
at C:\inetpub\vhosts\sb-dns.site\asd\node_modules\esbuild\lib\main.js:1083:25
at responseCallbacks.<computed> (C:\inetpub\vhosts\sb-dns.site\asd\node_modules\esbuild\lib\main.js:703:9)
at Socket.afterClose (C:\inetpub\vhosts\sb-dns.site\asd\node_modules\esbuild\lib\main.js:693:28)
at Socket.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
 
Back
Top