Comments (4)
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.
from remix-kit.
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 ?
from remix-kit.
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.
from remix-kit.
This should now be fixed.
- I've fixed the issue with jiti and @remix-kit/react by auto-injecting the ReactRefresh code so that there's no import to cause jiti issues.
- Vite Node will now dynamically compile server.ts files so there's no need to run build:server before dev.
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.
from remix-kit.
Related Issues (12)
- Failed to import iconoir-react in production mode HOT 1
- No HMR / 404 on client requests HOT 10
- `Error: listen EADDRINUSE: address already in use :::3000` HOT 3
- Remix App Server Template: `Error: couldn't find exported server build` & `WebSocket server error: Port is already in use` HOT 2
- DX: Explanations for what each `remix-kit` command do
- vite plugin for Static Site Generation (SSG)
- Updating loader code and refreshing the page does not reflect new changes HOT 1
- `Error [ERR_REQUIRE_ESM]: require() of ES Module` HOT 5
- DX: Improving experience for remix apps created with the default Remix App Server template HOT 1
- enhancement: Possibility to use SolidJS? HOT 10
- please add the permission notice required by the MIT licence HOT 1
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.
from remix-kit.