remix-jokes's People
Forkers
chaance jacob-ebey mumer29 thangphan37 somtougeh usamahameed michaeldeboey dunglas turker0 stasinski arihito 7flash socrateselokillo mikeyhodl markacola vedovelli marty-anz chentsulin praveenjuge mnemosdev vritb robbywh morrisonak dimkk yuuukida ag-remix rc23 willnguyen1312 justindsmith rodrigoieh w10036w chrisbirster alexrogalskiy isabella232 ahmadel-banna helios1989 carlkitenge kellswork jsierles dsilva609 nitinshr135 joshuadoan arcticspacefox pureink justinhenricks rubinovitz zyy7259 olekasandrblamar frayaa pujaayumiswari theecolyaremix-jokes's Issues
Double titles/metadata on many pages
Seems that https://remix-jokes.lol has two <title>
tags on many pages. Is it maybe that Meta
always just adds new metadata and does not overwrite parent metadata?
Login works with Chrome but not Safari on Mac OS
When I run the app on Mac OS (Monterey 12.0.1), I can login successfully using Chrome (version 96.0.4664.93). However, when I try to login using Safari (version 15.1), I get redirected back to /jokes
.
I haven't had time to do any debugging yet, but I did notice a difference in the console when using Chrome vs. Safari.
With Chrome, I see:
POST /login?_data=routes%2Flogin 204 - - 79.879 ms
GET /jokes?_data=root 200 - - 1.112 ms
GET /jokes?_data=routes%2Fjokes%2Findex 200 - - 6.126 ms
GET /jokes?_data=routes%2Fjokes 200 - - 12.336 ms
With Safari, I see:
POST /login?_data=routes%2Flogin 204 - - 75.138 ms
GET /jokes?_data=root 200 - - 6.954 ms
GET /jokes?_data=routes%2Fjokes 200 - - 0.761 ms
GET /jokes?_data=routes%2Fjokes%2Findex 404 - - 3.253 ms
For some reason, Safari receives a 404 for the request to GET /jokes?_data=routes%2Fjokes%2Findex
. Also, Safari requests that URL after /jokes?_data=routes%2Fjokes
, whereas Chrome requests it before.
Not sure if this is a Remix problem or a problem with the Jokes app or an error on my part, but I thought it was worth reporting.
Uncaught Exception when using back and forth buttons in the browser
2 tutorial bugs: (RSS doesn't work) + (Fly's .dockerignore doesn't work for Prisma)
Disclaimer: I'm still genuinely excited about Remix, but in stepping through the remix-jokes tutorial I ran into a couple acute issues that left me scratching my head. I feel pretty confident others must have encountered them too. Hoping that posting here might help shed some light.
Issue 1: Resource Routes / RSS feature:
The tutorial's implementation differs from this repo's, and AFAICT neither of them work.
https://remix-jokes.lol/jokes.rss (like my follow-along-at-home version) returns a 200 response but there are no joke <item>
s, just the feed metadata ending with </ttl>
. I stopped trying to debug it when I realized it wasn't just me.
Issue 2: Deployment: Prisma vs Fly.io's default .dockerignore
:
The .dockerignore
file noted in the tutorial and present in this repo, auto-generated by fly launch
, consists of just one path to ignore: node_modules
. That's pretty standard and seems reasonable. BUT. Prisma is weird, in that it relies on generating files in node_modules/prisma
-- which files are not present following npm install
! (This gives me the heebie-jeebies, even if the Prisma APIs are really nice.)
So in following the tutorial step-by-step, the fly deploy
step fails with errors like:
Error: Cannot find module '/root/.npm/_npx/524/lib/node_modules/prisma/scripts/preinstall-entry.js'
The only way I could mitigate this problem was to edit the .dockerignore
file, adding an exclusion to NOT ignore node_modules/prisma
in particular:
!node_modules/prisma
... which fixed the problem.
But, how did the setup in this repo and/or noted in the tutorial's prose ever work without making this change?
Thanks in advance for any responses!
Getting XML error while clicking on "RSS" on the homepage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.