coupez / react-circle-progress-bar

A circular progress bar for React
18 stars 13 forks source link

Stack at import error #3

Open MobinX opened 3 years ago

MobinX commented 3 years ago

I am using this repo in razzle(universal react framework) app. After using this repo i ma getting this type of error. Please help me.

The error ` SyntaxError: Cannot use import statement outside a module at compileFunction () at wrapSafe (internal/modules/cjs/loader.js:1072:16) at Module._compile (internal/modules/cjs/loader.js:1122:27) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10) at Module.load (internal/modules/cjs/loader.js:1002:32) at Function.Module._load (internal/modules/cjs/loader.js:901:14)
at Module.require (internal/modules/cjs/loader.js:1044:19) at require (internal/modules/cjs/helpers.js:77:18) at Object.react-circle-progress-bar (D:\Projects\virsys-v\build\webpack:\external "react-circle-progress-bar":1:1) at __webpack_require__ (D:\Projects\virsys-v\build\webpack:\webpack\bootstrap:748:1)

`