Open iatzmon opened 3 years ago
Thanks for your report. This library currently does not support Windows build as our dependency libjsonnet does not so. They have an open issue for Windows support that you might help resolve: https://github.com/google/jsonnet/issues/734
That error comes from this line https://github.com/google/jsonnet/blob/108e5d7ba7de3dfa42468461acbb3b1385aed629/CMakeLists.txt#L42 and I think the expected fix is only to set up the compiler-specific command line options for MSVC.
Started some trial and error at #65. It would be appreciated if you could help debug it :)
Thanks for the quick response, much appreciated!
The build succeeds now when installing the package but when I try to use it I get the following error:
Error: The specified module could not be found.
\\?\C:\Users\itama\dev\jsonnet-test\node_modules\@hanazuki\node-jsonnet\build\Release\node-jsonnet.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1131:18)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at bindings (C:\Users\itama\dev\jsonnet-test\node_modules\bindings\bindings.js:112:48)
at Object.<anonymous> (C:\Users\itama\dev\jsonnet-test\node_modules\@hanazuki\node-jsonnet\lib\index.js:2:36)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
The node-jsonnet.node file does exist in the module's folder
I uploaded my test repo to https://github.com/Osherg/jsonnet-test
Running npm install in an empty project yields the following output: