-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Dev server syntax error in IE11 #9293
Comments
I am also facing the same issue. |
Also having this issue |
This is now fixed. Just rerun
|
@tmakin It worked.. Thanks!! |
Still facing the issue even after webpack-dev-server@2.11.1 in IE11 |
Looks like the fix was to downgrade strip-ansi to version |
I did a clean npm install by removing node_modules. Still facing the issue while in development mode. It works fine with prod build. |
Must still be picking up wrong version. I suggest manual install of webpack-dev-server or add an explicit dependency on
Either way, IE is not going to work until the following command returns
Edit |
The above commands returns |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Angular CLI: 1.6.5
Node: 8.9.1
OS: win32 x64
Angular: 5.2.1
Internet Explorer: 11
Which pulls in:
webpack-dev-server: 2.11.0
Repro steps
Navigate to
http://localhost:4200
using IE11Observed behavior
IE11 reports syntax error in console:
The AOT production build is fine. Just the dev server which is a problem
Desired behavior
Be able to use dev server with IE11
Mention any other details that might be useful (optional)
The cause seems to be fat arrow es6 syntax that has sneaked into the webpack-dev-server output. See here:
webpack/webpack-dev-server#1278
So probably this will be fixed with the next update to webpack-dev-server
The text was updated successfully, but these errors were encountered: