If you find the following error on Skedler startup in Windows,


Error: The specified module could not be found.

\\?\C:\Users\<Username>\Desktop\skedler\skedler\node_modules\java\build\Release\nodejavabridge_bindings.node

    at Error (native)

    at Object.Module._extensions..node (module.js:460:18)

    at Module.load (module.js:356:32)

    at Function.Module._load (module.js:313:12)

    at Module.require (module.js:366:17)

    at require (module.js:385:17)

    at Object.<anonymous> (C:\Users\<Username>\Desktop\skedler\skedler\node_modules\java\lib\nodeJavaBridge.js:21:16)

    at Module._compile (module.js:435:26)

    at Object.Module._extensions..js (module.js:442:10)

    at Module.load (module.js:356:32)

 

To resolve this error, check whether the following environment variables are set as shown below,


1. Configuring Java_Home as User Variable show below,


2. Add JAVA_HOME\bin to PATH as shown below,


3. Add JAVA_HOME\jre\bin\server to PATH as shown below,