- List item
I have upgraded my version angular 17 to 18.
I am trying to run ng serve or ng build . getting bellow error if any have faced this issue plz provide the solution
appnode_moduleslistr2node_modulescoloretteindex.cjs:54
head = string.substring(0, index) + replace,
^
RangeError: Maximum call stack size exceeded
at String.substring (<anonymous>)
at replaceClose (C:UsersE02973Desktopn6 – Copy (2)appnode_moduleslistr2node_modulescoloretteindex.cjs:54:17)
at replaceClose (C:UsersE02973Desktopn6 – Copy(2)appnode_moduleslistr2node_modulescoloretteindex.cjs:57:32)
at replaceClose (C:UsersE02973Desktopn6 – Copy (2)appnode_moduleslistr2node_modulescoloretteindex.cjs:57:32)
at replaceClose (C:UsersE02973Desktopn6 – Copy (2)appnode_moduleslistr2node_modulescoloretteindex.cjs:57:32)
at replaceClose (C:UsersE02973Desktopn6 – Copy (2)appnode_moduleslistr2node_modulescoloretteindex.cjs:57:32)
Node.js v20.17.0
When I am running the application collorete issue should not be come. If I use some old version but there some auto dependecies on new version I can not be modify them.