Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge-js build failing with nw-gyp #148

Open
deepakblr opened this issue Apr 28, 2021 · 0 comments
Open

edge-js build failing with nw-gyp #148

deepakblr opened this issue Apr 28, 2021 · 0 comments

Comments

@deepakblr
Copy link

deepakblr commented Apr 28, 2021

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-gyp@3.6.5
gyp info using node@12.14.1 | win32 | x64

nw.js v0.42.3

Error Message & Stack Trace

image

image

##Additional information
I am able to build edge-js using node-gyp successfully, however nw-gyp it is failing

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant