v1.0.2-alpha utils.createRequire is not a function
We have this error on lastest Gancio version:
ℹ 📅 gancio - v1.0.2-alpha - A shared agenda for local communities
ℹ Logging to /usr/local/share/.config/yarn/global/node_modules/gancio/logs/gancio.log [level: debug]
(node:16838) UnhandledPromiseRejectionWarning: TypeError: utils.createRequire is not a function
at Resolver.options.createRequire [as _createRequire] (/usr/local/share/.config/yarn/global/node_modules/gancio/node_modules/@nuxt/config/dist/config.js:992:40)
at new Resolver (/usr/local/share/.config/yarn/global/node_modules/gancio/node_modules/@nuxt/core/dist/core.js:258:26)
at new Nuxt (/usr/local/share/.config/yarn/global/node_modules/gancio/node_modules/@nuxt/core/dist/core.js:408:21)
at main (/usr/local/share/.config/yarn/global/node_modules/gancio/server/index.js:15:16)
at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/gancio/server/index.js:51:1)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.start [as handler] (/usr/local/share/.config/yarn/global/node_modules/gancio/server/cli.js:302:3)
(node:16838) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:16838) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Edited by hacklabkelo