Angular 10: ng serve not working in IE 11- but ng build --prod works fine in IE 11 when deployed the build to a server
See original GitHub issueπ Bug report
Command (mark with an x
)
- new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Is this a regression?
Yes, This is working fine with Angular 9.Description
Create a new angular 10 application using angular cli 10.0.3. Opt in for IE 11 in .browserslistrc. Run `ng serve` . Works fine in chrome but doesn't show anything in IE11. There is no console error as well.Note: Works in IE 11 when deployed the build to a server. ng build --prod
outputs es5 and es2015 bundles.
π¬ Minimal Reproduction
π₯ Exception or Error
No Exception or Error in IE console
π Your Environment
10.0.2
Anything else relevant?
Yes, it is browser specific issue. IE 11 version: 11.900.18362.0 Update Versions: 11.0.195
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How To Fix Your Angular App When It's Not Working in IE11
Run your application: ng serve --configuration es5 . I recommend to add a run script in package.json for convenience.
Read more >ng serve/test/e2e does not work with Internet Explorer 11
In your angular.json add two new configuration section under the build and serve target to provide a new tsconfig. "build"Β ...
Read more >Angular Not working in IE 11 both in prod and dev build
Using the ng command directly from the command promt will always use the global version rather than the locally installed one. So using...
Read more >Running Angular 10 in Internet Explorer 11
Are you worried that new angular 10 project is not running in "IE11" even though you enable the given polyfills by angular team?...
Read more >Deployment - Angular
During development, you typically use the ng serve command to build, watch, and serve the application from local memory, using webpack-dev-server.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sistla001, this is not a bug and is working as expected.
See: https://github.com/angular/angular-cli/issues/14455#issuecomment-493739768
Duplicate of https://github.com/angular/angular-cli/issues/14455