I have been making some small apps to teach myself the monday development landscape. Things are going well but installing the Vibe design system is always a major pain point. When installing the package from node it always introduces node dependency conflicts and it appears that many of the packages are out of date. Whenever I try to render a Vibe component it throws this error in the browser:
@vibe_core.js?v=ad45ecc3:8601 Uncaught ReferenceError: global is not defined
at ensureCache2 (@vibe_core.js?v=ad45ecc3:8601:7)
at node_modules/global-cache/index.js (@vibe_core.js?v=ad45ecc3:8610:17)
at __require2 (chunk-OL46QLBJ.js?v=3538b59f:21:50)
at node_modules/react-with-styles-interface-css/dist/index.js (@vibe_core.js?v=ad45ecc3:8740:47)
at __require2 (chunk-OL46QLBJ.js?v=3538b59f:21:50)
at node_modules/react-with-styles-interface-css/index.js (@vibe_core.js?v=ad45ecc3:8779:23)
at __require2 (chunk-OL46QLBJ.js?v=3538b59f:21:50)
at node_modules/@vibe/core/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js (@vibe_core.js?v=ad45ecc3:9093:63)
at __require2 (chunk-OL46QLBJ.js?v=3538b59f:21:50)
at node_modules/@vibe/core/node_modules/react-dates/lib/initialize.js (@vibe_core.js?v=ad45ecc3:9106:72)
ensureCache2 @ @vibe_core.js?v=ad45ecc3:8601
node_modules/global-cache/index.js @ @vibe_core.js?v=ad45ecc3:8610
__require2 @ chunk-OL46QLBJ.js?v=3538b59f:21
node_modules/react-with-styles-interface-css/dist/index.js @ @vibe_core.js?v=ad45ecc3:8740
__require2 @ chunk-OL46QLBJ.js?v=3538b59f:21
node_modules/react-with-styles-interface-css/index.js @ @vibe_core.js?v=ad45ecc3:8779
__require2 @ chunk-OL46QLBJ.js?v=3538b59f:21
node_modules/@vibe/core/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js @ @vibe_core.js?v=ad45ecc3:9093
__require2 @ chunk-OL46QLBJ.js?v=3538b59f:21
node_modules/@vibe/core/node_modules/react-dates/lib/initialize.js @ @vibe_core.js?v=ad45ecc3:9106
__require2 @ chunk-OL46QLBJ.js?v=3538b59f:21
(anonymous)
To fix it is a painful game of which dependencies need to be changed to play nice with Vibe and even then there are still lots of node warnings. Even in the react quickstart on the welcome apps there are many conflicts.
My question: Is an update to these dependencies on the roadmap for the team in charge of Vibe? These older packages are making it hard to get a new project off the ground and use Vibe alongside modern javascript libraries.