You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a vue.js app contains a chart from Chart.js. When I am running only vue app, it works. However, When I'm trying to run inside a single spa root. It gives an error
And Single-spa project is running without showing the chart. That is why I guess, there is a uncompatibility between single-spa and chart.js. @joeldenning Could you inform me?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a vue.js app contains a chart from Chart.js. When I am running only vue app, it works. However, When I'm trying to run inside a single spa root. It gives an error
ERROR
application died in status SKIP_BECAUSE_BROKEN: import_hammerjs.default.Manager is not a constructor
TypeError: application 'space-analytics' died in status SKIP_BECAUSE_BROKEN: import_hammerjs.default.Manager is not a constructor
at startHammer (http://localhost:5173/node_modules/.vite/deps/chartjs-plugin-zoom.js?v=dd653522:2497:14)
at Object.start (http://localhost:5173/node_modules/.vite/deps/chartjs-plugin-zoom.js?v=dd653522:2585:7)
at callback (http://localhost:5173/node_modules/.vite/deps/chunk-M4DQFMBH.js?v=dd653522:594:15)
at PluginService._notify (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5149:11)
at PluginService._notifyStateChanges (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5180:10)
at PluginService._descriptors (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5166:10)
at PluginService.notify (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5131:82)
at Chart.notifyPlugins (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:6401:26)
at Chart._initialize (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5744:10)
at new Chart (http://localhost:5173/node_modules/.vite/deps/chunk-PXBW5KHJ.js?v=dd653522:5713:10)
And Single-spa project is running without showing the chart. That is why I guess, there is a uncompatibility between single-spa and chart.js. @joeldenning Could you inform me?
Beta Was this translation helpful? Give feedback.
All reactions