Closed cliffordfajardo closed 1 year ago
Thanks again @cliffordfajardo!
I've updated the contributing guidelines with more details on needing to run pnpm run build:server
before pnpm run dev
.
- For the
react-app
you must runpnpm run build:server
beforepnpm run dev
. If using stubs it doesn't currently work if the remix-react package has been stubbed, so you need to cd topackages/remix-react
and runpnpm run prepack
so that just that package isn't using jiti.
hey, just stumbled on the same issue
could it be worth adding a "postinstall": "pnpm build:server",
you don't even need to know about this ?
In the next release I'm hoping to bring the entire server files under Vite control, so there will be no need to build or modify them with RemixKitRunner. This will also solve the need to build the server file before running dev.
This should now be fixed.
Make sure you are running pnpm run dev
rather than npx remix-kit dev
so that it passes the origin url of the remix app server from the npm scripts.
Describe the bug
As a dev wanting to contribute to
remix-kit
, I would like to run the code inplayground/react-app
however the dev server is not not working. FYI i'm also new topnpm
based repo's 😅Reproduction
No response
Steps to reproduce
Following the instructions in CONTRIBUTING.md:
remix-kit
(git clone https://github.com/jrestall/remix-kit.git)
cd
intoremix-kit
& runpnpm install
at the root of theremix-kit
cd
into theplayground/react-app
foldernpx remix-kit dev
After step 5 I get the following error:
Video Reproduction
https://user-images.githubusercontent.com/6743796/209436577-ae8fb710-d9d2-447e-b4a2-d5731c919669.mp4
System Info
Used Package Manager
npm
Validations