-
Notifications
You must be signed in to change notification settings - Fork 147
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
Development in IE11 impossible (Blank page) #217
Comments
I have this same problem. It is because the dev config does not convert some arrow functions into classic functions. IE11 cannot use ES6 arrow functions. Maybe some module is getting included after the normal build process? Edit: Appears to do with the /***/ "./node_modules/ansi-styles/index.js":
/*!*******************************************!*\
!*** ./node_modules/ansi-styles/index.js ***!
\*******************************************/
/*! dynamic exports provided */
/*! all exports used */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/* WEBPACK VAR INJECTION */(function(module) {
const colorConvert = __webpack_require__(/*! color-convert */ "./node_modules/color-convert/index.js");
const wrapAnsi16 = (fn, offset) => function () {
const code = fn.apply(colorConvert, arguments);
return `\u001B[${code + offset}m`;
}; This makes it hard to test in IE during dev. The production build does appear to load in IE. |
…grade Babel setup and enable tr More context in: facebook/create-react-app#3776 BREAKING CHANGE: Now we compile third-party JavaScript code with Babel. fix #217
…grade Babel setup and enable transpilation of third-party code More context in: facebook/create-react-app#3776 BREAKING CHANGE: Now we compile third-party JavaScript code with Babel. fix #217
Is this a bug report?
Yes
Environment
node -v
: v8.4.0npm -v
: 5.6.0yarn --version
(if you use Yarn): 0.27.5npm ls create-elm-app -g
(if you haven’t ejected): 1.10.1Then, specify:
Steps to Reproduce
When starting the development server, and visiting 10.0.2.2:3000 in a windows virtual machine IE11 browser (maps to localhost:3000) on the actual machine a blank page shows up.
In the console the error
(Write your steps here:)
$ create-elm-app foo
$ cd foo
$ elm-app start
10.0.2.2:3000
in IE11 on windows virtual machineExpected Behavior
I woud expect to see the create-elm-app initial page
Your elm app is working
Actual Behavior
A blank page appears with an error in the console
Reproducible Demo
I did not include a demo since the issue appears immediately after creating a new elm-app.
The text was updated successfully, but these errors were encountered: