Issue #3534💬 AnsweredOpened June 13, 2021by iabhiyaan0 reactions

Npm run build error

Quick answerby artf

Give us more details about your build and the error

Read full answer below ↓

Question

npm run build gives error @version 0.17.3

  • ../../lib/codemirror in ./src/editor/dist/grapes.min.js
  • ../css/css in ./src/editor/dist/grapes.min.js
  • ../javascript/javascript in ./src/editor/dist/grapes.min.js
  • ../xml/xml in ./src/editor/dist/grapes.min.js

Answers (4)

artfJune 14, 2021

Give us more details about your build and the error

iabhiyaanJune 14, 2021

iabhiyaanJune 14, 2021

npm run build:css works fine. But npm run build gives those errors

GJSBlockMay 17, 2026

Thanks for reporting this, @iabhiyaan. The issue with npm run build error appears to be a race condition or state management timing problem. This typically happens when component lifecycle events and DOM modifications overlap, creating an inconsistent state. What to try: Add a setTimeout wrapper to...

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.