You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, previous ng updates that I have tried worked as expected.
Description
When running ng update @angular/cli @angular/core --next the process completes successfully, however the polyfills file has been left broken. It appears to have attempted to remove the core-js imports although failed half way through leaving half a line of code:
/**************************************************************************************************** BROWSER POLYFILLS*/k-map';import'core-js/es6/set';/** IE10 and IE11 requires the following for NgClass support on SVG elements */// import 'classlist.js'; // Run `npm install --save classlist.js`.
All imports after the broken line are not removed. This obviously causes the build to fail.
…windows
Replacment of line endings should only happen to increase the hash matches as otherwise the recorder will fail to update the correct positions
Fixes#14443
…windows
Replacment of line endings should only happen to increase the hash matches as otherwise the recorder will fail to update the correct positions
Fixes#14443
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, previous ng updates that I have tried worked as expected.
Description
When running
ng update @angular/cli @angular/core --next
the process completes successfully, however the polyfills file has been left broken. It appears to have attempted to remove the core-js imports although failed half way through leaving half a line of code:All imports after the broken line are not removed. This obviously causes the build to fail.
🔬 Minimal Reproduction
Clone this repo: https://github.com/UXAspects/UXAspects-Seed
Perform the update:
ng update @angular/cli @angular/core --next --force
CLI will report success, however the broken code now remains
🔥 Exception or Error
No exceptions during update, reports successful update
🌍 Your Environment
Anything else relevant?
No
The text was updated successfully, but these errors were encountered: