10% building 0/4 entries 22/28 dependencies 2/14 modules/Users/bigelobr/Repos/grid-ui/node_modules/@bryntum/gantt-react/index.js:4
import './WrapperHelper.js';
^^^^^^
SyntaxError: Cannot use import statement outside a module
at wrapSafe (internal/modules/cjs/loader.js:1053:16)
at Module._compile (internal/modules/cjs/loader.js:1101:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
Did you use create-react-app to create the React application? If not, we would need a sample that would reproduce the problem and that we could debug and fix.
package.json, webpack config with a simple App.js would do. The error is before running anything, I suppose. We need something in hands to work with. Is it feasible to prepare a sample for us?