Build from source Error
-
Could be related to this recent commit -- https://github.com/vatesfr/xen-orchestra/commit/68bb2fa7f012625bcbb273f1526aa62defd2df12
-
Ah yes, and so last question: on which commit HEAD are you right now?
-
FWIW, I get the same issue when building from latest sources (68bb2fa7f012625bcbb273f1526aa62defd2df12)
-
i used the latest master
git clone -b master http://github.com/vatesfr/xen-orchestra
I also tried again with the guide from your doku. Same result.
root@xoa-ce:/home/server-admin/xen-orchestra/packages/xo-server# yarn start yarn run v1.22.10 $ node bin/xo-server /home/server-admin/xen-orchestra/packages/xo-server/bin/xo-server:30 require('@xen-orchestra/log/configure').catchGlobalErrors(require('@xen-orchestra/log').default('xo:xo-server')) ^ TypeError: require(...).default is not a function at Object.<anonymous> (/home/server-admin/xen-orchestra/packages/xo-server/bin/xo-server:30:96) at Module._compile (internal/modules/cjs/loader.js:1068:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10) at Module.load (internal/modules/cjs/loader.js:933:32) at Function.Module._load (internal/modules/cjs/loader.js:774:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-
Thanks What about your Node version?
node -v
-
v14.17.0
-
@julien-f does it ring any bell?
-
-
Thanks's a lot. Now it worked!
-
Thanks for the report!