The getting started example throws an error when trying to start uiengine. Looks like babel-runtime dependency is missing.
$ uiengine build --watch --serve
🚧 Building …
🚨 Build failed!
Error: Could not load "@uiengine/theme" theme:
Error: Cannot find module 'babel-runtime/core-js/object/assign'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
We've been able to work around this by manually adding it to the projects dependencies. I'm not sure about the right place for this dependency.
The getting started example throws an error when trying to start uiengine. Looks like
babel-runtime
dependency is missing.We've been able to work around this by manually adding it to the projects dependencies. I'm not sure about the right place for this dependency.
Workaround: