Cannot compile and run o-s-c from sources anymore

This is on linux debian 8 (yes, this is old)…

until now I was making git pulls and rcompiling o-s-c from sources.

By mistake, I upgraded to pre-v1, so I deleted the node_module repository, did a git checkout of v0.49.12, and compiled o-s-c again as usual… (npm install && npm run build)

now I get this error, this is new:

=> Building minified client bundle, this may take a while...

> open-stage-control@0.49.12 build-server-js /data/od/open-stage-control
> node scripts/build-server.js

(node:3439) UnhandledPromiseRejectionWarning: Error: [BABEL] /data/od/open-stage-control/node_modules/ws/index.js: Could not find plugin "proposal-numeric-separator". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/data/od/open-stage-control/node_modules/@babel/preset-env/lib/index.js") while parsing file: /data/od/open-stage-control/node_modules/ws/index.js
    at getPlugin (/data/od/open-stage-control/node_modules/@babel/preset-env/lib/index.js:67:11)
    at Array.from.map.pluginName (/data/od/open-stage-control/node_modules/@babel/preset-env/lib/index.js:258:62)
    at Array.map (<anonymous>)
    at _default (/data/od/open-stage-control/node_modules/@babel/preset-env/lib/index.js:258:43)
    at /data/od/open-stage-control/node_modules/@babel/helper-plugin-utils/lib/index.js:19:12
    at /data/od/open-stage-control/node_modules/@babel/core/lib/config/full.js:179:14
    at Generator.next (<anonymous>)
    at Function.<anonymous> (/data/od/open-stage-control/node_modules/@babel/core/lib/gensync-utils/async.js:26:3)
    at Generator.next (<anonymous>)
    at step (/data/od/open-stage-control/node_modules/gensync/index.js:254:32)
(node:3439) 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(). (rejection id: 1)
(node:3439) [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.
=> JS and CSS assets built successfully. Run "npm run package" to build an executable or "npm start" to run the app.

when I do npm start, I get this:

> open-stage-control@0.49.12 start /data/od/open-stage-control
> electron app/

/data/od/open-stage-control/node_modules/electron/dist/electron: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /data/od/open-stage-control/node_modules/electron/dist/electron)
/data/od/open-stage-control/node_modules/electron/dist/electron: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /data/od/open-stage-control/node_modules/electron/dist/electron)
Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank"
/proc/self/exe: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /proc/self/exe)
/proc/self/exe: /lib/x86_64-linux-gnu/libdbus-1.so.3: no version information available (required by /proc/self/exe)

I had these errors, they are not new… but…

after that, no window opens at all…

I tried to download a binary release, and it works correctly…

do you have an idead @jean-emmanuel ?

thx

edit: I can compile versions up to 0.48.8, but I cannot compile any of the 0.49.x versions

edit2: also, I can start v1, and a window appears if I pass no arg on command line

however, when I try to load my session and I click ‘start’, I get this printed in console:

Usage:
  app [options]

Options:
[...]
  -v, --version        Show version number                             [boolean]
The "path" argument must be one of type string, Buffer, or URL. Received type object
(INFO) Server stopped

when starting with a blank session, I can load my session afterwards but I get a Uncaught RangeError: Maximum call stack size exceeded. I can open an issue on github if you want to.

Building from v0 branch should be fixed now.

As for the issue with v1 can you send me your session file ?

The “path” argument must be one of type string, Buffer, or URL. Received type object

Fixed.

yes it is, thank you!

sent.

Thx!