edge-js build failing with nw-gyp
Closed this issue · 3 comments
Description
I want to use edge-js with nw.js. And as edge-js is not pure js package , I have to rebuild it with nw-gyp to get it working.
(https://github.com/nwjs/nw.js/wiki/using-node-modules)
Tried to re-build edge-js with nw-gyp, but facing compilation issues. The error snapshot is attached
Followed below 2 links to install nw-gyp
https://github.com/nwjs/nw-gyp#installation
Build edge-js with nw
https://github.com/nwjs/nw.js/wiki/Build-native-modules-with-nw-gyp
Package version
"edge-js": "^15.5.2"
Commands used to build
nw-gyp configure --target=0.42.3
nw-gyp rebuild --target=0.42.3
nw.js v0.42.3
Node v13.1.0
Error Message & Stack Trace
Relevant Information
npm configurations
\edge-js> npm config get
; cli configs
metrics-registry = "https://registry.npmjs.org/"
scope = ""
user-agent = "npm/6.13.4 node/v12.14.1 win32 x64"
; userconfig C:\Users<user>.npmrc
msvs_version = "2015"
node_gyp = "C:\Users\\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
python = "python2.7"
; globalconfig C:\Users<user>\AppData\Roaming\npm\etc\npmrc
node_gyp = "C:\Users\\AppData\Roaming\npm\node_modules\node-gyp\bin\node-gyp.js"
; builtin config undefined
prefix = "C:\Users\\AppData\Roaming\npm"
; node bin location = C:\Program Files\nodejs\node.exe
; cwd = E:\compile_node_modules\node_modules\edge-js
; HOME = C:\Users<user>
; "npm config ls -l" to show all defaults.
I have zero knowledge of nw.js and hearing it for the first time.
Regarding edge, it is Typescript project and then compiled down to JS and published to npm. So if something is failing when building the Typescript source, then you have to see if Typescript can be built with nw.js or not.
@thetutlage I had to post this question in agracio/edge-js . Mistakenly posted it on edge repo.
But to answer your question, It can be built because I was able to re-build for node-toolkit(nw) using nw-gyp on my ubuntu machine, the problem is specific to windows
Closing since not actionable