Comments (12)
It would be nice if you could specify the port too.
from create-react-app.
I think it should ask: Something is already running at http://localhost:3000. Would you like to run the app at another port instead? [Y/n]
from create-react-app.
If accepted, I can work on this using this module.
from create-react-app.
Should be out in 0.2.0 alpha, please help us test it. #190
from create-react-app.
I noticed this issue too, I'd prefer to have it just throw an error personally. If you start switching ports dynamically it can get confusing, especially for newer users who will be referencing the docs.
@sotojuan if you have a solution in mind make a PR :) It's easier to get into more nitty gritty discussion on a PR.
from create-react-app.
But yes, this is accepted, and we can discuss specific UX in a PR.
from create-react-app.
I’d like to try an automatic way first.
If people will still complain after we add it, we’ll definitely allow specifying it.
from create-react-app.
@gaearon here's a PR for a prompt if port is in use #101
from create-react-app.
Yep, I’ll review next week. 👍
from create-react-app.
This was fixed in #243.
from create-react-app.
Strangely, I'm finding that create-react-app 0.2.3 still is unable to detect another service running at port 3000. I have a Rails app running on 3000, and npm start
still outputs:
Compiled successfully!
The app is running at:
http://localhost:3000/
Note that the development build is not optimized.
To create a production build, use npm run build.
When I go to http://localhost:3000
, I only get the Rails app. I'm on a Mac running El Capitan. Anyone else running into this?
from create-react-app.
We use detect-port
so you can try this library separately and file issues if you figure out what's wrong. Its code is pretty small.
from create-react-app.
Related Issues (20)
- Snyk Package Analysis - Improper Input Validation Vulnerability HOT 1
- Snyk Package Analysis - Prototype Pollution Vulnerability HOT 1
- Snyk Package Analysis - Missing Release of Resource after Effective Lifetime Vulnerability HOT 2
- Docs: code splitting links to old/incorrect React page
- Create issue Facebook app HOT 3
- Uncaught ReferenceError: process is not defined at emitReadable (_stream_readable.js:529:1) at onEofChunk (_stream_readable.js:506:1) at readableAddChunk (_stream_readable.js:255:1) at Readable.push (_stream_readable.js:241:1) at index.js:423:1 emitReadable @ _stream_readable.js:529 onEofChunk @ _stream_readable.js:506 readableAddChunk @ _stream_readable.js:255 Readable.push @ _stream_readable.js:241 (anonymous) @ index.js:423 Show 5 more frames Show less
- Run `npm install` in `D:\git\r\`. HOT 1
- Hi gaearon
- Hebosho911
- Could the community save this dead project? HOT 4
- pateknuk
- use parameter decorator HOT 5
- My React app not installing HOT 3
- create-react-app problem
- Can't start creat react app HOT 1
- Facing an error to install firebase HOT 1
- It is intentionally verbose. Otherwise there is a risk of accidentally exposing a private key on the machine that happens to have the same name.
- npx create-react-app HOT 2
- Dependency Packages introduced vulnerabilities associated with react-scripts 5.0.1
- I am not able to run the project i have uploaded my issue so please help me or provide me a updated documentation for this
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 create-react-app.