-
-
Notifications
You must be signed in to change notification settings - Fork 553
Description
Describe the bug
Cannot run 'yarn start' per the BUILDING.md instructions
To Reproduce
Steps to reproduce the behavior:
- git clone https://github.com/arduino/arduino-ide.git
- cd arduino-ide
- yarn
- yarn rebuild:electron
- yarn start
Output is
~/git/testbuild$ yarn start
yarn run v1.22.17
$ yarn --cwd ./electron-app start
$ theia start --plugins=local-dir:../plugins
Starting backend process. PID: 300750
/home/user/git/testbuild/node_modules/bindings/bindings.js:121
throw e;
^
Error: Module did not self-register: '/home/user/git/testbuild/node_modules/drivelist/build/Release/drivelist.node'.
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1034:18)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at bindings (/home/bluey/git/testbuild/node_modules/bindings/bindings.js:112:48)
at Object.<anonymous> (/home/bluey/git/testbuild/node_modules/drivelist/js/index.js:25:27)
Expected behavior
IDE to run.
Desktop (please complete the following information):
- OS: Linux (Ubuntu 20.04 64bit) and Windows 10
Additional Info
I read the Theia IDE prerequisites documentation and installed node 12.22.8 and yarn 1.22.17 and I'm able to build the Theia example code. Additionally, I tried following the instructions in
https://github.com/arduino/arduino-ide/blob/cb51966d2392005e3489d360328a28280e373032/BUILDING.md (Pull #706 ) but step 3
cd electron-app
yarn rebuild:browser
cd ..
says command not found. I can run it in the root directory, but it makes no difference.
Also, this error looked similar to electron/rebuild#888 and eclipse-theia/theia#10429 so I tried switching to their 1.20.0 from 1.19.0 as that has the work-around pull request integrated, but I get the same error.