Cannot start XO after upgrading from 5.48.0 to 5.51.1
-
I'm not entirely sure why but after compling and updating to the new version the new version 5.51.1 from 5.48.0.
[13:08:27] Finished 'buildPages' after 3.55 s [13:08:28] Finished 'copyAssets' after 4.28 s [13:08:30] Finished 'buildStyles' after 6.46 s Successfully compiled 128 files with Babel. [13:10:13] Finished 'buildScripts' after 1.8 min [13:10:13] Finished 'build' after 1.8 min Done in 119.35s. Updated version 5.51.1 / 5.51.1
I can't start XO anymore...
Oct 31 13:02:47 ubuntu-xo xo-server[6192]: 2019-10-31T02:02:47.711Z xo:xo-server ERROR uncaught exception { Oct 31 13:02:47 ubuntu-xo xo-server[6192]: error: ReferenceError: primordials is not defined Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.require (internal/modules/cjs/loader.js:864:19) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at require (internal/modules/cjs/helpers.js:74:18) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module._compile (internal/modules/cjs/loader.js:971:30) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Module.load (internal/modules/cjs/loader.js:822:32) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: at Function.Module._load (internal/modules/cjs/loader.js:730:14) Oct 31 13:02:47 ubuntu-xo xo-server[6192]: } Oct 31 13:02:47 ubuntu-xo systemd[1]: xo-server.service: Service RestartSec=100ms expired, scheduling restart. Oct 31 13:02:47 ubuntu-xo systemd[1]: xo-server.service: Scheduled restart job, restart counter is at 5. Oct 31 13:02:47 ubuntu-xo systemd[1]: Stopped XO Server. Oct 31 13:02:47 ubuntu-xo systemd[1]: xo-server.service: Start request repeated too quickly. Oct 31 13:02:47 ubuntu-xo systemd[1]: xo-server.service: Failed with result 'start-limit-hit'. Oct 31 13:02:47 ubuntu-xo systemd[1]: Failed to start XO Server.
If any experts can shed a light on this that'll be helpful...
Thanks.
-
FWIW, I'm not experiencing this issue. Guessing that you aren't using the correct version of Node. What the output from
node -v
? You should be on version 8.x. -
Thanks for the tip.
I was using node v8.11.4 and had issues compiling during the upgrade then upgraded to the latest stable node version which wasn't v8.x.
I upgraded to v8.16.2 now and it runs fine. Thanks.