Problem importing CSS and module in nodejs es6
Question
Version: 0.16.22
Are you able to reproduce the bug from the demo?
[x] Yes [ ] No
What is the expected behavior? To import grapejs css and module
Describe the bug detailed
SyntaxError: Invalid or unexpected token at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
AND
/project/node_modules/grapesjs/dist/grapes.min.js:1 ReferenceError: window is not defined at Object.<anonymous> (/home/orestes/Workspace/orbitplum/node_modules/grapesjs/dist/grapes.min.js:2:198) at Generator.next (<anonymous>) at Object.<anonymous> (/home/orestes/Workspace/orbitplum/test.js:1) at Generator.next (<anonymous>)
Answers (2)
sorry, are you able to provide a live example?
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3048
[BUG]: TypeError: Cannot read property 'get' of undefined
Version: 0.16.22Are you able to reproduce the bug from the demo? [x] Yes [ ] NoWhat is the expected behavior? no errors in the console.Desc...
Issue #2892
BUG: CanvasView.clearOff not called when parent element is scrolled
v0.16.18 (also tested v0.16.22) Are you able to reproduce the bug from the demo? [X] Yes [ ] No What is the expected behavior? grapesjs sho...
Issue #3082
XSS Vulnerability in Live Preview
Version: 0.16.22 Are you able to reproduce the bug from the demo? [ x] Yes Steps:Click Import HTMLInsert <img src="anyimagesource.gif" onlo...
Issue #3018
Page refresh preventing after click on import
Version: 0.15.9 Are you able to reproduce the bug from the demo? Yes What is the expected behavior? Don't refresh the page after clicking o...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βBrowse Plugin Categories
Jump directly to plugin category pages on the marketplace.