Envek / Envek/obs-studio-node-example

Error in starting app with custom obs-studio-node built with latest code

Offen
#39 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
113
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

As dependency this app using
```
"obs-studio-node": "https://obsstudionodes3.streamlabs.com/osn-0.10.10-release-win64.tar.gz"
```
I wanted to try custom built `obs-studio-node`. I created that using steps given in `README.md`
when I try to run app using custom `obs-studio-node` I am getting error

```
$ yarn start
yarn run v1.22.10
$ electron .

App threw an error during load
Error: The specified module could not be found.
\\?\C:\Users\User\projects\obs-studio-node-example\node_modules\obs-studio-node\obs_studio_client.node
at process.func [as dlopen] (electron/js2c/asar.js:140:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1196:18)
at Object.func [as .node] (electron/js2c/asar.js:140:31)
at Module.load (internal/modules/cjs/loader.js:981:32)
at Module._load (internal/modules/cjs/loader.js:881:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:1023:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (C:\Users\User\projects\obs-studio-node-example\node_modules\obs-studio-node\module.js:3:13)
at Module._compile (internal/modules/cjs/loader.js:1145:30)
```
I have confirmed that `C:\Users\User\projects\obs-studio-node-example\node_modules\obs-studio-node\obs_studio_client.node` exists.

My system details are:
OS: Windows 10 enterprise
Node: 14.16.0

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Reproduce with yarn start after following README.md’s custom obs-studio-node build steps, then inspect node_modules/obs-studio-node/module.js and the loading of obs_studio_client.node on Windows. Done should identify why the existing native module is not loading with the custom build and record a verified way for the app to start, or document the confirmed compatibility limitation.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
electron, javascript, node.js
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.