Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] The URL 'http:/[http//localhost]:3000' is invalid #1112

Closed
Aykelith opened this issue Apr 10, 2019 · 1 comment
Closed

[Bug] The URL 'http:/[http//localhost]:3000' is invalid #1112

Aykelith opened this issue Apr 10, 2019 · 1 comment

Comments

@Aykelith
Copy link

Reporting a bug?

Yes. I just downloaded react-static and wanted to use it, but after I created a basic project and started it I get this in my browser console:

Uncaught SyntaxError: The URL 'http:/[http//localhost]:3000' is invalid at new SockJS (VM20 main.js:47750) at initSocket (VM20 main.js:55343) at Object.<anonymous> (VM20 main.js:54830) at Object.../../webpack-dev-server/client/index.js?http://[http://localhost]:3000 (VM20 main.js:54876) at __webpack_require__ (VM20 main.js:724) at fn (VM20 main.js:101) at Object.0 (VM20 main.js:58287) at __webpack_require__ (VM20 main.js:724) at VM20 main.js:791 at VM20 main.js:794

Environment

System:
OS: Linux 4.15 Linux Mint 19 (Tara)
CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Memory: 786.52 MB / 7.67 GB
Container: Yes
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 10.15.3 - ~/.nvm/versions/node/v10.15.3/bin/node
npm: 6.4.1 - ~/.nvm/versions/node/v10.15.3/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Browsers:
Chrome: 73.0.3683.103
Firefox: 66.0.2
npmPackages:
react: ^16.8.2 => 16.8.6
react-dom: ^16.8.2 => 16.8.6
react-static: ^7.0.0 => 7.0.7
react-static-plugin-reach-router: ^7.0.0 => 7.0.7
react-static-plugin-sitemap: ^7.0.0 => 7.0.0
react-static-plugin-source-filesystem: ^7.0.0 => 7.0.0
npmGlobalPackages:
react-static: 7.0.7

Steps to Reproduce the problem

  1. react-static create
  2. choose a template( a only tested with basic and blank)
  3. cd into directory
  4. run npm run start
  5. open http://localhost:3000

Expected Behavior

To show the page with no errors

@Aykelith
Copy link
Author

Same as #1109
Sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant