You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to setup remix-kit on a remix express template following the getting started guide, I get the following message when running npm run dev
RemixKit 0.1.0 22:12:00
Remix 1.9.0 22:12:00
React 18.2.0 22:12:00
22:12:00
> Local: http://localhost:3000/ 22:12:00
> Network: http://192.168.1.65:3000/
> Network: http://[2600:1700:7274:8990:1c8c:1998:2c3:deda]:3000/
> Network: http://[2600:1700:7274:8990::16]:3000/
> Network: http://[2600:1700:7274:8990:c1f5:a550:76ab:5524]:3000/
> Network: http://[2600:1700:7274:8990:d9c5:e776:d564:418b]:3000/
> Network: http://[2600:1700:7274:8990:ec99:3d87:7099:3b45]:3000/
ℹ Cleaning up generated files and caches... 22:12:00
✔ Dev server ready in 640.887ms 22:12:01
ℹ Starting Remix server... node ./server.js 22:12:01
Express server starting... 22:12:01
Error: listen EADDRINUSE: address already in use :::3000 22:12:01
at Server.setupListenHandle [as _listen2] (node:net:1485:16)
at listenInCluster (node:net:1533:12)
at Server.listen (node:net:1621:7)
at Function.listen (/Users/cliffordfajardo/repos/remix-kit-example-app/node_modules/express/lib/application.js:635:24)
at Object.<anonymous> (/Users/cliffordfajardo/repos/remix-kit-example-app/server.js:40:5)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
$ npx create-remix@latest
? Where would you like to create your app? ./my_remix-kit-example
What type of app do you want to create? (Use arrow keys)
❯ Just the basics
A pre-configured stack ready for production
? Where do you want to deploy? Choose Remix App Server if you're unsure; it's easy to change deployment targets. Express
Server
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? (Y/n) Y
.
.
.
Install remix kit dependencies:
npm i @remix-kit/vite @remix-kit/react @remix-kit/cli
### Used Package Manager
npm
### Validations
- [X] Read the [Contributing Guidelines](https://github.com/jrestall/remix-kit/blob/main/CONTRIBUTING.md).
- [X] Check that there isn't [already an issue](https://github.com/jrestall/remix-kit/issues) that reports the same bug to avoid creating a duplicate.
- [X] Make sure this is a RemixKit issue and not a Remix specific issue. For example, if it's a Remix related bug, it should likely be reported to [remix](https://github.com/remix-run/remix) instead.
- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/jrestall/remix-kit/discussions).
The text was updated successfully, but these errors were encountered:
Thanks for the report @cliffordfajardo! As a quick fix you can either change the express template to run on a different port by changing const port = process.env.PORT || 3000; in the server.js or you can pass --port to remix-kit dev e.g. remix-kit dev --port 3005 which will force the dev server to port 3005.
I'll work on changing the default port for the dev server to avoid this conflict though.
Describe the bug
When attempting to setup
remix-kit
on a remix express template following the getting started guide, I get the following message when runningnpm run dev
Reproduction
https://github.com/cliffordfajardo/remix_kit_repro1
Steps to reproduce
1.Start a new remix express project
System Info
The text was updated successfully, but these errors were encountered: