Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #8150
Closed
Open
Issue created Dec 11, 2019 by Administrator@rootContributor

DevServer on IE: WebSocket compatibility

Created by: josias-r

Sorry to bother about IE support 😇

Describe the bug

In react-scripts 3.3.0 de webPackDevServer setup was switched from SockJS to WebSocket. see PR Since the url.format returns an URL something like ws:localhost not ws://localhost, it will throw an Syntax Error on IE.

Environment

Windows 8.1, node 10, npm 6, ie11

Steps to reproduce

  1. Install create-react-app w/ react-scripts 3.3.0
  2. Import react-app-polyfills (stable & ie11)
  3. Set browserslist to include "IE 11" in development mode aswell
  4. Run npm start
  5. Open the dev server in IE

Expected behavior

The dev-server should work on IE aswell.

Actual behavior

A syntax error gets thrown.

Assignee
Assign to
Time tracking