GithubHelp home page GithubHelp logo

Port in use error about react-slingshot HOT 4 CLOSED

coryhouse avatar coryhouse commented on May 5, 2024
Port in use error

from react-slingshot.

Comments (4)

coryhouse avatar coryhouse commented on May 5, 2024

Yep, this happens in two scenarios:

  1. When you already have the starter kit running on another command line.
  2. The default port is conflicting with some other process on your machine.

You can specify a different port to see if that helps. Add the following to the browserSync call in /tools/server.js:

browserSync({
port: 9080,
ui: {
port: 9081
},

I'm considering adding this to the kit so the configuration is easily available.

from react-slingshot.

mrberggg avatar mrberggg commented on May 5, 2024

I can't find any other processes running on that port which is what was confusing me. But I'll try changing the port, see if that fixes it. Thanks!

Oh and do you take feature requests? It'd be great to have connect-history-api-fallback or some HTML History config (i.e. support for SPA routing).

from react-slingshot.

nickytonline avatar nickytonline commented on May 5, 2024

@mrberggg for routing, see issue #10.

from react-slingshot.

mrberggg avatar mrberggg commented on May 5, 2024

Yeah, I saw that. Including it in the build step doesn't seem opinionated though (doesn't add any weight to final bundle) and it would save a lot of headache in setup. Anyhow, thanks for your work

from react-slingshot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.