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

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

Closed
remy-poirier opened this issue Nov 21, 2018 · 0 comments
Closed

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

remy-poirier opened this issue Nov 21, 2018 · 0 comments

Comments

@remy-poirier
Copy link

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.

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

No branches or pull requests

1 participant