• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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: 20
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