smoothie__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor

75 views
Skip to first unread message

Talwinder singh

unread,
Aug 30, 2023, 1:08:36 AM8/30/23
to Smoothie Charts
Hi, I am working to use smoothie to display ECG data within react application. 
I have imported as
import SmoothieChart, { TimeSeries } from 'smoothie';
and getting below getting error:

smoothie__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor TypeError: smoothie__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor at http://localhost:3000/static/js/bundle.js:142:20 at commitHookEffectListMount (http://localhost:3000/static/js/bundle.js:27379:30) at commitPassiveMountOnFiber (http://localhost:3000/static/js/bundle.js:28872:17) at commitPassiveMountEffects_complete (http://localhost:3000/static/js/bundle.js:28844:13) at commitPassiveMountEffects_begin (http://localhost:3000/static/js/bundle.js:28834:11) at commitPassiveMountEffects (http://localhost:3000/static/js/bundle.js:28824:7) at flushPassiveEffectsImpl (http://localhost:3000/static/js/bundle.js:30709:7) at flushPassiveEffects (http://localhost:3000/static/js/bundle.js:30661:18) at http://localhost:3000/static/js/bundle.js:30476:13 at workLoop (http://localhost:3000/static/js/bundle.js:37614:38)
Reply all
Reply to author
Forward
0 new messages