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
  • #3367
Closed
Open
Issue created Oct 31, 2017 by Administrator@rootContributor

IE11 fails in dev mode due to template literal in webpackHotDevClient.js

Created by: felthy

Commit 00ed100b introduced a template literal (backtick) at line 29 of webpackHotDevClient.js. Replacing this with old-school launchEditorEndpoint + '?fileName=' gets the dev server working in IE11 again.

I've found other issues (e.g. #1881 (closed)) that indicate care has been taken to keep the runtime code ES5-compatible, so I suspect this was unintentional.

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

Yes

Which terms did you search for in User Guide?

IE11; browser; support; version; webpackHotDevClient

Environment

  1. node -v: v8.6.0
  2. npm -v: 5.3.0
  3. yarn --version (if you use Yarn): 1.2.1
  4. npm ls react-scripts (if you haven’t ejected): react-scripts@1.0.15

Then, specify:

  1. Operating system: Windows 8.1
  2. Browser and version (if relevant): Internet Explorer 11.0

Steps to Reproduce

~ $ create-react-app ie11test
~ $ cd ie11test/
ie11test $ yarn start

Then open localhost:3000 in Internet Explorer 11.

Expected Behavior

Should see the "Welcome to React" page.

Actual Behavior

IE11 shows a blank white page with the following error in the F12 Developer Tools console:

❌ SCRIPT1014: Invalid character
File: bundle.js, Line: 6335, Column: 5

That reference corresponds to react-dev-utils/webpackHotDevClient.js:29:

    `${launchEditorEndpoint}?fileName=` +
----^

Reproducible Demo

Reproducible with the default output from create-react-app, no other changes required.

Assignee
Assign to
Time tracking