jordan
jordan
Explore posts from servers
CDCloudflare Developers
Created by jordan on 8/7/2024 in #pages-help
Remix and Vite - 2 error(s) and 0 warning(s) when compiling Worker.
@Dan 👍 and anyone else who might get stuck... I got help on the Remix discord and my issue was I am importing from remix-node instead of cloudflare. I was doing auth and had: import { createCookieSessionStorage } from "@remix-run/node"; Instead of: import { createCookieSessionStorage } from "@remix-run/cloudflare"; Have a look through your code and make sure you import from @remix-run/cloudflare for anything node related.
5 replies
CDCloudflare Developers
Created by jordan on 8/7/2024 in #pages-help
Remix and Vite - 2 error(s) and 0 warning(s) when compiling Worker.
I had quite a few as well, then I added the wrangler.toml part but these two won't go away. I've always tried to change the compatibility_date to see if that would make a different but it did not :/ I don't think I've done anything too out of the ordinary either. I've followed the remix-auth docs and added prisma and tailwind, so I'm quite confused by the issues I have. I noticed not everything was up to date, so I've updated all my dependencies but still get the same error. I ran npm ls crypto and npm ls stream and have no dependencies relying on this, so I'm not sure what the next steps are 😅
5 replies
RRailway
Created by jordan on 4/19/2024 in #✋|help
Node server error but deployment worked
That was it, thank you!
7 replies
RRailway
Created by jordan on 4/19/2024 in #✋|help
Node server error but deployment worked
I will give that a try, thank you!
7 replies
RRailway
Created by jordan on 4/19/2024 in #✋|help
Node server error but deployment worked
1c3e4a4f-c6fe-4419-bb90-a9fda1ff6517
7 replies
RRailway
Created by jordan on 8/28/2023 in #✋|help
Very slow connection
Yeah I’ll need to check, I’m not doing anything special just a basic remix app with crud for prisma. However, if that doesn’t work, the app is still far to slow so I’ll still need to work that out.
9 replies
RRailway
Created by jordan on 8/28/2023 in #✋|help
Very slow connection
Yeah, it’s remix and prisma on vercel and Postgres on railway. Feel like this might be a dumb question, but could I put it all on railway?
9 replies
RRailway
Created by jordan on 8/28/2023 in #✋|help
Very slow connection
00f2f045-18df-4d64-b620-1bc75f0ed324
9 replies
RRailway
Created by jordan on 4/9/2023 in #✋|help
API Development Advice
Thank you, I’ll give that a try
11 replies
RRailway
Created by jordan on 4/9/2023 in #✋|help
API Development Advice
I’ll give that a try thanks, I assume that should be able to handle a few hundred to couple thousand requests? From various users
11 replies
RRailway
Created by jordan on 4/9/2023 in #✋|help
API Development Advice
The API cost, it gives you 100 calls per day for free, but then goes up quite a lot for more. My friend is happy to pay but think it's too much for the next level. From a development point, I think I could build it but just hoping to get a bit of advice for building it. Basically, I think it would be a db that stores the information, simple table of dates and prices. Then when I use the site, it gets the date and price I select. I'm unsure if this is the best way, and how cost efficient it would if it was a few hundred calls to a couple thousand calls per day and if caching would help with that as well.
11 replies
RRailway
Created by jordan on 4/9/2023 in #✋|help
API Development Advice
36be635e-5b14-45df-8b89-03b99c89984d
11 replies
RRailway
Created by jordan on 2/24/2023 in #✋|help
Strapi Heroku to Railway
I think this is what I was doing wrong, so I've managed to get the database setup and done a pg_dump and pg_restore, but have another issue,:
ERROR: role "qwdltptbsjboxd" does not exist
Command was: GRANT ALL ON LANGUAGE plpgsql TO qwdltptbsjboxd;
ERROR: role "qwdltptbsjboxd" does not exist
Command was: GRANT ALL ON LANGUAGE plpgsql TO qwdltptbsjboxd;
However, this error makes sense as I wouldn't have this user on this database. Anyway, I've ran the deployment without adding the user and it works, so I think I'm all good and hope this helps other people.
6 replies
RRailway
Created by jordan on 2/24/2023 in #✋|help
Strapi Heroku to Railway
I might be misunderstanding and need to also have a database instance? Sorry if this is me being dumb, I thought this was all included as part of strapi.
6 replies
RRailway
Created by jordan on 2/24/2023 in #✋|help
Strapi Heroku to Railway
36be635e-5b14-45df-8b89-03b99c89984d
6 replies