Issue #3045Opened September 23, 2020by ghost0 reactions

BUG: 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)

artfOctober 9, 20200 reactions

sorry, are you able to provide a live example?

no-response[bot]October 19, 20200 reactions

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.

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.