colorette icon indicating copy to clipboard operation
colorette copied to clipboard

RangeError: Maximum call stack size exceeded

Open AbhijitTodkar22 opened this issue 1 year ago • 2 comments

{

"version": "1.0.1", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "watch": "ng build --watch", "test": "ng test", "lint": "ng lint", "serve:ssr:portal": "node dist/portal/server/server.mjs" }, "private": true, "resolutions": { "colorette": "latest" }, "dependencies": { "@angular/animations": "^19.1.3", "@angular/common": "^19.1.3", "@angular/compiler": "^19.1.3", "@angular/core": "^19.1.3", "@angular/forms": "^19.1.3", "@angular/google-maps": "^16.2.12", "@angular/platform-browser": "^19.1.3", "@angular/platform-browser-dynamic": "^19.1.3", "@angular/platform-server": "^19.1.3", "@angular/router": "^19.1.3", "@angular/service-worker": "^19.1.3", "@angular/ssr": "^19.1.4", "@ctrl/ngx-emoji-mart": "^7.0.0", "@fortawesome/fontawesome-free": "^6.0.0", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@ngrx/store": "^16.3.0", "@ngx-translate/core": "^14.0.0", "@ngx-translate/http-loader": "^7.0.0", "@popperjs/core": "^2.11.2", "@stripe/stripe-js": "^2.1.11", "@tinymce/tinymce-angular": "^8.0.0", "@types/lodash": "^4.14.178", "angular-email-editor": "^15.2.0", "angular-svg-icon": "^13.0.0", "apexcharts": "^3.35.3", "bootstrap": "^5.2.0", "colorette": "^2.0.20", "cropperjs": "^1.6.2", "domino": "https://github.com/angular/domino.git#9e7881d2ac1e5977cefbc557f935931ec23f6658", "express": "^4.18.2", "file-saver": "^2.0.5", "libphonenumber-js": "^1.9.50", "listr2": "^8.2.5", "ng-apexcharts": "^1.7.1", "ng-multiselect-dropdown": "1.0.0-beta.16", "ng-recaptcha": "^12.0.2", "ng2-nouislider": "^2.0.0", "ng2-pdf-viewer": "^9.1.5", "ngx-image-cropper": "^9.1.1", "ngx-loading": "^15.0.0", "ngx-pagination": "^6.0.3", "ngx-photo-editor": "^0.4.3", "ngx-stripe": "^14.1.0", "ngx-tagify": "^15.0.5", "nouislider": "^15.5.1", "rxjs": "~7.5.2", "sweetalert": "^2.1.2", "swiper": "^11.0.7", "tinymce": "^7.1.2", "tslib": "^2.3.1", "webpack": "^5.95.0", "webpack-cli": "^5.1.4", "zone.js": "^0.15.0" }, "devDependencies": { "@angular-devkit/build-angular": "^19.1.4", "@angular-eslint/builder": "^19.0.2", "@angular-eslint/eslint-plugin": "^19.0.2", "@angular-eslint/eslint-plugin-template": "^19.0.2", "@angular-eslint/schematics": "^19.0.2", "@angular-eslint/template-parser": "^19.0.2", "@angular/cli": "^19.1.4", "@angular/compiler-cli": "^19.1.3", "@angular/localize": "^19.1.3", "@ngrx/store-devtools": "^16.3.0", "@types/express": "^4.17.17", "@types/jasmine": "~3.10.0", "@types/node": "^18.15.3", "@typescript-eslint/eslint-plugin": "6.19.0", "@typescript-eslint/parser": "6.19.0", "eslint": "^8.56.0", "jasmine-core": "~3.10.0", "karma": "^6.3.16", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.0.3", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~5.5.4" } }

D:\Angular19Portal\portal.runthrough\node_modules\colorette\index.cjs:54 head = string.substring(0, index) + replace, ^

RangeError: Maximum call stack size exceeded at String.substring ()

AbhijitTodkar22 avatar Jan 27 '25 05:01 AbhijitTodkar22

I have the same issue with an angular 19 app. It does not compile anymore.

4rcadiaN avatar Jan 28 '25 09:01 4rcadiaN

Same issue here. any fix?

JMGomes avatar Oct 01 '25 08:10 JMGomes