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
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x, v8.x
Current Behavior
Developers may observe an unexpected runtime exception after installing the latest version of Ionic or running npm install in an older Ionic project (this will impact back to v7), due to the @stencil/core version being unpinned and installing 4.19.1.
Browser environment:
DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at addStyle (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:805:30)
at attachStyles (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:825:20)
at updateComponent (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:1610:5)
at http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:1597:38
at enqueue (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:1602:6)
at dispatchHooks (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:1597:10)
at Array.dispatch (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:1561:26)
at consume (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:248:16)
at flush (http://192.168.2.240:8100/node_modules/.vite/deps/chunk-EAKC337R.js?v=364e7a2a:290:5)
To workaround this issue, the following is recommended until a new patch version is available:
Pin the @ionic/* dependencies to a version 8.2.2 or earlier. These versions can resolve an older version of @stencil/core that does not have the regressed behavior.
Install v4.18.3 of @stencil/core as a dependency. You can remove this after the new patch is available.
npm install @stencil/core@4.18.3 --save-exact
Confirm that 4.18.3 is being resolved with npm ls @stencil/core
a. If it is not, you can use the overrides feature with npm in your package.json:
"overrides": {
"@stencil/core": "4.18.3"
}
Rebuild your applications
Steps to Reproduce
N/A
Code Reproduction URL
N/A
Ionic Info
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered:
This has been resolved by @stencil/core@4.19.2 and Ionic Framework v8.2.5. Please make sure you are on these versions and open a new issue if you are still seeing problems.
Prerequisites
Ionic Framework Version
v7.x, v8.x
Current Behavior
Developers may observe an unexpected runtime exception after installing the latest version of Ionic or running
npm install
in an older Ionic project (this will impact back to v7), due to the@stencil/core
version being unpinned and installing 4.19.1.Browser environment:
Node environment:
Related Stencil issues: ionic-team/stencil#5870, ionic-team/stencil#5869
Expected Behavior
To workaround this issue, the following is recommended until a new patch version is available:
@ionic/*
dependencies to a version 8.2.2 or earlier. These versions can resolve an older version of@stencil/core
that does not have the regressed behavior.@stencil/core
as a dependency. You can remove this after the new patch is available.npm ls @stencil/core
a. If it is not, you can use the
overrides
feature with npm in your package.json:Steps to Reproduce
N/A
Code Reproduction URL
N/A
Ionic Info
N/A
Additional Information
No response
The text was updated successfully, but these errors were encountered: