I cannot host on zerops my vite project?
what do I need to do?
7 Replies
@admin can I ping admin for help? I don't know?
I get 502 in the zerops.io subdomain?
You have port
3000
in zerops.yml
and 8080
in your defineConfig
and I do not see a PORT
env variable defined in your zerops.yml
that overrides it to 3000
.
Also, this will make /var/www/dist
, /var/www/package.json
and /var/www/node_modules
files/folders
I am not sure how tis works exactly (not a JS on server side dev), but if you need content of dist
folder directly in /var/www
you can use ~
More info can be seen in our documentation: https://docs.zerops.io/thank you will try
guides do not work
Zerops Documentation | Zerops
Get started with the Zerops cloud platform with our knowledge base.
ok managed to fix it I started fresh used the zerops.yml I was proposed based on the basic nodejs yml and then asked PearAI agent to fix the vite config and the package.json
Hmmm, this is the correct NodeJs documentation: https://docs.zerops.io/nodejs/overview
This one should be deleted https://docs.zerops.io/nodejs/getting-started :facepalm: c.c. @Petra
You could maybe try Perplexity with this Space: https://www.perplexity.ai/collections/zerops-Yz3xb2yzRWa36NvJ3qTU1A
It's set with all possible Zerops links, to pull from our docs etc.
If you search only in "This space", it should only use provided links, or you could also enable Web, but "This space" should be enough.
