Envek / Envek/obs-studio-node-example

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

Aperta
#39 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
113
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
electron, javascript, node.js
Ambito
desktop
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.