eclipse-theia / theia-blueprint

The Eclipse IDE is a modern and open IDE for cloud and desktop. The Theia IDE is based on the Theia platform. The Theia IDE is available as a downloadable desktop application. You can also try the latest version of the Theia IDE online. For more details, see the Readme below.
https://theia-ide.org/#theiaide
MIT License
335 stars 125 forks source link

Error module did not self-register ( drivelist.node ) while starting electron app #349

Open seltzered opened 5 months ago

seltzered commented 5 months ago

Bug Description:

Repeating the issue I've also left a comment on in https://github.com/eclipse-theia/theia/issues/13126 , where I'm noticing I can't seem to build theia-blueprint (commit https://github.com/eclipse-theia/theia-blueprint/commit/4682fb920d42db913b630faa36d35449ba0657d8 ) in my current environment and end up with this error:

Steps to Reproduce:

end up with the following error:

Error: node-loader:
Error: Module did not self-register: '/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/native/drivelist.node'.
    at 26747 (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/849.js:2:166)
    at o (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/main.js:1:12188)
    at e.exports (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/main.js:1:2880)
    at 59135 (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/849.js:2:555008)
    at o (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/main.js:1:12188)
    at 80934 (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/849.js:2:53480)
    at o (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/main.js:1:12188)
    at 33299 (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/849.js:2:55250)
    at o (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/main.js:1:12188)
    at 42737 (/home/myPathTo/theia-blueprint/applications/electron/dist/linux-unpacked/resources/app/lib/backend/849.js:2:48212)

Node.js v18.12.1
theia-ide-electron-app [file]

Environment:

seltzered commented 5 months ago

Also bumping into the same build issue with Theia-bluprint tagged at Theia 1.44.0 ( https://github.com/eclipse-theia/theia-blueprint/commit/81553f97f754fb49aa8464db4ac66ad1438ce069 ), so perhaps it's something more to do with my environment.