wcjs-ugly-demo
wcjs-ugly-demo copied to clipboard
Uncaught Error: The specified module could not be found.
My environment is win10(x64)+node(v8.9.0)+npm(v5.5.1)+nw.js(nwjs-sdk-v0.23.7-win-ia32)+WebChimera.js_v0.2.7_nw_v0.23.7_VLC_v2.2.4_ia32_win.
I have tried wcjs-ugly-demo for several times,the following error occurred.
Uncaught Error: The specified module could not be found.
\?\E:\webchimeraAndNwjs\wcjs-ugly-demo\node_modules\webchimera.js\build\WebChimera.js.node
at Object.Module._extensions..node (module.js:732:18)
at Module.load (module.js:598:32)
at tryModuleLoad (module.js:538:12)
at Function.Module._load (module.js:530:3)
at Module.require (module.js:629:17)
at require (internal/module.js:11:18)
at bindings (E:\webchimeraAndNwjs\wcjs-ugly-demo\node_modules\bindings\bindings.js:76:44)
at Object.
I see two possible reasons:
- you really don't have E:\webchimeraAndNwjs\wcjs-ugly-demo\node_modules\webchimera.js\build\WebChimera.js.node
- you don't have some dependency dll
well,
- i have "WebChimera.js.node" in the file path on my system.
- i have put files in "WebChimera.js_v0.2.7_nw_v0.23.7_VLC_v2.2.4_ia32_win." in "E:\webchimeraAndNwjs\wcjs-ugly-demo\node_modules\webchimera.js\build\Release"
It's possible WebChimera.js just not compatible with latest NW.js versions. I didn't try it long time.
thanks a lot. I' ll try later.
thanks a lot. I' ll try later.
hi, has the problem been solved? I meet the same situation I check the WebChimera.js.node use dependency, an error detected

@calabashdad, did you build WebChimera.js yourself or get prebuilt one?
@calabashdad, did you build WebChimera.js yourself or get prebuilt one?
hi,awesome project! I build WebChimera.js myself according your tutorial some environmental params: windows 10 32bit; vlc 3.0.6; electron v4.0.1 ; npm 6.5.0
You should check (in dependancy walker) if it miss some else direct dependancy for webchimera.js.node
except node.dll
(just collapse all elements except top level WEBCHIMERA.JS.NODE, and look if it has some more modules with yellow icons with question symbol).
If it not - then try add your Electron folder (where node.dll resides) to PATH and check with Dependancy Walker again if it will have some errors.
Other option could be some compatibility issue with latest Electron, so you could build against older Electron version and check if it will work.
@calabashdad, it looks like it's compatibility issue with Electron v4: https://github.com/cmake-js/cmake-js/issues/153
@calabashdad, it looks like it's compatibility issue with Electron v4: cmake-js/cmake-js#153
@RSATom Thanks for your valuable suggestion! i try it with electron v4 but compile error, later i'll check the compilation environment and process again, if successful, I will give a reply here, thanks again