React + Typescript support (create-react-app with typescript template)

Thanks again @coelmay – that put me on the right path.

For future Googlers, my steps to get it working:

  1. Simplified my dependencies to be proper npm modules using Github Packages
  2. Added a .npmrc file to my app and committed it, but used an environment variable NPM_TOKEN to reference the personal access token created for Github Packages (per these forum posts)
  3. Added a _redirects file in the public folder to handle React Routing per the docs.
  4. Got rid of the Express.js server and everything works as expected, now.

Thanks!

1 Like