IamIconLiving
Explore posts from servers404 main page not found
I deployed a docker file that contains multiple services and express app that serves react is one of them.
When I try to access the main webpage, I get 404 with following logs in the deployment
I tried to set the
Caddyfile
and nixpacks.toml
files based on this repo here
https://github.com/brody192/vite-react-template/blob/main/nixpacks.toml to no luck
https://popspace-demo-production.up.railway.app/17 replies
Docker image failes to copy `.git` directory
I wonder what am I doing wrong, as it seems like a trivial thing - copying a git directory onto the machine but it fails at this step.
Here is the entire Docker file
https://github.com/with-labs/popspace/blob/main/Dockerfile
9 replies
WWasp-lang
•Created by IamIconLiving on 3/29/2024 in #🙋questions
Possibility to disable wasp reload on UI file changes?
20 replies
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock
I tried deleting my Railway proc file and getting this error now
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running
9 replies
Possibility to specify service during `railway up`
As subject states, is it possible to specify target service during
railway up
to avoid interactive mode? If there is a deployment of multiple services that needs to be done automatically without user selecting what goes to which service interactively,
Some like railway up --service=client
etc4 replies
React with router getting 404
I know it's a common knowledge where SPAs are getting 404 if used in combination with routing solution, however it seems that some people were able to fix it, but not my case unfortunately.
I followed steps advised in this thread - https://discord.com/channels/713503345364697088/1019596063079944273 but now I am just getting Server Error from Railway when trying to access the webapp and there are no logs in the Deployment logs at all.
My Dockerfile
And
.nginx/nginx.conf
file
I am not even sure how to troubleshoot this as it seems like i am not hitting the webapp at all as there are no logs? Any help would be appreciated10 replies
WWasp-lang
•Created by IamIconLiving on 4/19/2023 in #🙋questions
Cannot build frontend part due to type error
16 replies
WWasp-lang
•Created by IamIconLiving on 4/19/2023 in #🙋questions
Optional node_modules installs
I dunno why but for some reason I thought that Wasp detects npm installs and keeps track of them. Maybe cus of this file
installedFullStackNpmDependencies.json
but would it make sense for Wasp to track chances in package.json file and if there are any - only then do a npm install
or have some sort of flag to disable the modules installation
I was playing around yesterday with deployment to Railway, and I needed to do a few small changes in the source code (not .wasp
folder) and build the codebase frequently afterwards and node_modules were installed every single time, whereas I think there might be a different way to do it.
Like keep a ref to the dependencies and track any chances in there on each build command. If any detected - reinstall them entirely. If none - just delete everything apart from node_modules
folder.
Alternative approach, add a CLI flag to disable installs manually (might be easier and preferred way)14 replies
WWasp-lang
•Created by IamIconLiving on 4/14/2023 in #🙋questions
Following get started tuto - getTasks list not generated
I am following this article here
https://wasp-lang.dev/docs/tutorials/todo-app/03-listing-tasks
To use the prepared logic on frontend, article says I need to import my fetching function and
useQuery
hook like so
but for me getTasks
is not importing, because there is no such file is generated.
Why could this be and what am I doing wrong? What can I provide to help you debug this?28 replies
WWasp-lang
•Created by IamIconLiving on 4/14/2023 in #🙋questions
LSP for neovim / vim users
Hi there, from a quick glance on the docs side, I found the extension for VSCode:
If you are using VSCode, install our Wasp language extension.
Am I correct to assume there is nothing ready for neovim / vim out of the box yet?5 replies