Cannot find module bluebird
-
Hi, trying to build XO from sources and receiving the following error:
Mar 08 14:24:27 xolab.threeputt.org systemd[1]: Started XO Server. Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: internal/modules/cjs/loader.js:818 Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: throw err; Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: ^ Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: Error: Cannot find module 'bluebird' Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: Require stack: Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: - /etc/xo/xo-builds/xen-orchestra-202103081423/packages/xo-server/bin/xo-server Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Function.Module._load (internal/modules/cjs/loader.js:667:27) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Module.require (internal/modules/cjs/loader.js:887:19) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at require (internal/modules/cjs/helpers.js:74:18) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Object.<anonymous> (/etc/xo/xo-builds/xen-orchestra-202103081423/packages/xo-server/bin/xo-server:21:18) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Module._compile (internal/modules/cjs/loader.js:999:30) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Module.load (internal/modules/cjs/loader.js:863:32) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Function.Module._load (internal/modules/cjs/loader.js:708:14) Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) { Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: code: 'MODULE_NOT_FOUND', Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: requireStack: [ Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: '/etc/xo/xo-builds/xen-orchestra-202103081423/packages/xo-server/bin/xo-server' Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: ] Mar 08 14:24:27 xolab.threeputt.org xo-server[4970]: } Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Main process exited, code=exited, status=1/FAILURE Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Failed with result 'exit-code'. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: Stopped XO Server. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Start request repeated too quickly. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: xo-server.service: Failed with result 'exit-code'. Mar 08 14:24:27 xolab.threeputt.org systemd[1]: Failed to start XO Server.Any suggestions how to fix? Thanks.
-
Hi!
From the sources using our official guide?
-
@olivierlambert From sources yes, but I am using the script/install procedure documented here:
https://github.com/ronivay/XenOrchestraInstallerUpdater
I'll follow-up with @ronivay on his github page, thanks.
-
Please check this first: https://xen-orchestra.com/docs/community.html
-
@olivierlambert No problem, to be honest I'd forgotten that the script I was using was not the official script...

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login