Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

[Help] Compatibility IE + Firefox old versions problems #451

@remy-poirier

Description

@remy-poirier

Is this a bug report?

Yes, I think so, or maybe I did something wrong but I'm stuck with Webpack config...

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

Yes

Environment

  1. npm ls react-scripts-ts (if you haven’t ejected):
  2. node -v: 8.11.3
  3. npm -v: 6.3.0
  4. yarn --version (if you use Yarn):
  5. npm ls react-scripts-ts (if you haven’t ejected):

Then, specify:

  1. Operating system: Windows 10
  2. Browser and version (if relevant): Firefox 45 and IE11 (Working on Chrome)

Steps to Reproduce

(Write your steps here:)

  1. npm install
  2. npm start
  3. Visit localhost:3333 on firefox 45 or IE11

Expected Behavior

It should display home page

Actual Behavior

Display a blank page, with a TypeError like this

img

Note: I cannot even click on the link because my computer freezes when trying to open the link, but I did it once, and the error seemed related with arrow functions, so maybe I need one more transpiler or something ?

Note

This is an ejected project

Comment

I think I a missing a simple thing but I tried so many things and until now nothing has worked.
Here is the interesting lines from package.json and webpack.config.dev:

package.json

Versions

"babel-loader": "^7.1.2",
"babel-preset-react-app": "^3.1.1",
"ts-loader": "^2.3.7",
"webpack": "3.8.1",
"webpack-dev-server": "2.9.4",
"typescript": "2.9.2"

Babel presets

"babel": {
    "presets": [
      "react-app"
    ]
  }

Here is a pastebin from webpack.config.dev : Click here

I really hope someone have time to help me, I am running out of ideas...

Also, the project is pretty big, so I don't feel so confident of migrating to create-react-app v2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy