question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItΒ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
alan-agius4commented, Jul 13, 2020
1reaction
destus90commented, Jul 13, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found