Issue #2044Opened May 29, 2019by eduardonunesp1 reactions

Npm start to develop on local server didn't work

Question

Did the procedure to start the local server using dev branch as described on README, it worked on the console, but fails on chrome and the grapesjs don't load due to the following error

image

Answers (3)

artfJune 19, 20191 reactions

I made a quick check and the reason seems to be the latest [email protected] I don't have time to investigate so I'll just freeze the currently used version

artfMay 30, 20190 reactions

Weird, never seen that before. It might be some dev dependency change in some minor release. Try to reinstall node_modules with exact dependency versions

verdvermJune 3, 20190 reactions

I'm having issues following the dev setup:

Uncaught TypeError: Cannot read property 'key' of undefined
    at eval (keymaster.js?c3d1:274)
    at eval (keymaster.js?c3d1:296)
    at Object../node_modules/keymaster/keymaster.js (grapes.min.js:335)
    at __webpack_require__ (grapes.min.js:30)
    at Object.eval (index.js?e835:38)
    at eval (index.js:236)
    at Object../src/keymaps/index.js (grapes.min.js:2204)
    at __webpack_require__ (grapes.min.js:30)
    at eval (Editor.js?c6c5:11)
    at Object../src/editor/model/Editor.js (grapes.min.js:2168)

Maybe a bundler issue?

I am able to drop the min from grapes.min.js in the index.html file and it works. However, if I build the grapes.js output, then this error returns.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.