Issue #5330πŸ’¬ AnsweredOpened Aug 24, 2023by rozek0 reactions

Latest version (commit 4f0c5b1) no longer compiles without errors

Quick answerby artf

Thanks @rozek I'll fix it now

Read full answer below ↓

Question

GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? none Reproducible demo link none Describe the bug yarn build fails with two errors: This may just be a problem with TypeScript being too picky, becauseyou may disable the error messages using // @ts-ignore and compile againthe tests will run fine then. but since I'm new to GrapesJS, I can not judge myself. Anyway, it's normally not a good idea to just // @ts-ignore TypeScript errors... Code of Conduct [X] I agree to follow this project's Code of Conduct

Answers (3)

artfβ€’ Aug 25, 2023

Thanks @rozek I'll fix it now

rozekβ€’ Aug 25, 2023

thank you very much!

GJS Helperβ€’ May 17, 2026

Thank you for reporting this issue. You've accurately identified a TypeScript compilation error (TS2532: Object is possibly 'undefined') occurring in the test/specs/utils/Sorter.ts file when running yarn build on GrapesJS commit 4f0c5b1. Root Cause The TS2532 error arises because TypeScript's stric...

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.