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, this behavior used to work in the previous version
The previous version in which this bug was not present was
15
Description
After upgrading to angular 16.1 I am getting an error: An unhandled exception occurred: document.documentElement.setAttribute is not a function
When digging into the stacktrace I see that the error is coming from:
[error] TypeError: document.documentElement.setAttribute is not a function
at createDocument (<MY_PATH>/webapp/node_modules/critters/dist/critters.js:519:30)
Minimal Reproduction
the command that i am runnig is:
ng build --configuration production
angular.json: "optimization": true,
Exception or Error
[error] TypeError: document.documentElement.setAttribute is not a function
at createDocument (<MY_PATH>/webapp/node_modules/critters/dist/critters.js:519:30)
### Your Environment
mac/ci (github actions)
### Anything else relevant?
when turning off `inlineCritical`
This setup works:
Command
build
Is this a regression?
The previous version in which this bug was not present was
15
Description
After upgrading to angular 16.1 I am getting an error:
An unhandled exception occurred: document.documentElement.setAttribute is not a function
When digging into the stacktrace I see that the error is coming from:
Minimal Reproduction
the command that i am runnig is:
angular.json:
"optimization": true,
Exception or Error
mac/ci (github actions)
The text was updated successfully, but these errors were encountered: