Replies: 2 comments 8 replies
-
|
To fix the file permissions, I recommend setting |
Beta Was this translation helpful? Give feedback.
8 replies
-
|
After running npm install, you must either compile the frontend for production or start vite, see: https://thm-health.github.io/PILOS/docs/next/development/getting-started#finish-setup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to setup a new developer installation of PILOS, but after previous issues fixed, I'm now stuck with Vite that doesn't find his manifest.json, indeed the public/build/ folder doesn't exists, but I don't known how to fix that.
May be it's related to previous issues I got because of files/directories ownership. In logs I got errors from git doing a fatal error for a« detected dubious ownership » and requesting to uses the command to fix it « git config --add safe.directory '/var/www/html' » but without success (even with a volume/file attached to /root/.gitconfig with « [safe] directory = * ». The only workaround I've found was to « chown 100999:100999 . -R ».
Then, I could uses the ./sail composer install && ./sail npm install
In the « ./sail logs app » there is no more error, it's only when I open the browser that I got a new log error :
local.ERROR: Vite manifest not found at: /var/www/html/public/build/manifest.json {"ip":"10.89.0.8","current-user":"guest"}Do you have any ideas of why Vite doesn't do the build ? There is a way to force Vite to build ?
I use GNU/Linux Arch, so it's may be a platform specific problem
Beta Was this translation helpful? Give feedback.
All reactions