the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 67 forks source link

Cannot view resource & archive pages during development on Windows #214

Closed puremana closed 4 years ago

puremana commented 4 years ago

All resources show a 404 page when running npm run start on Windows 10. Node version 12.14.1

image

When running the same command with the same version of node on Ubuntu 16.04 I can view the resources just fine.

image

Archive pages show a blank screen on windows (not even a 404 page) but work fine using Ubuntu. (i.e http://localhost:8000/archives/what-is-docker.md)

mahanthathreyee commented 4 years ago

This also occurs when built in windows (gatsby build and gatsby serve) But rather than 404, it goes to the homepage for me

Node version 12.14.1, cloned the latest master branch

Ran on Virtualbox (Windows 10, browsers used: Edge and Firefox) VM Details: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

ezgif com-optimize

veksen commented 4 years ago

As much as I'd like to solve this, I don't use Windows for development, so it's hard for me to investigate. If anybody wants to explore, feel free!

puremana commented 4 years ago

If I remember correctly I believe the issue was related to how Gatsby was building the urls on windows