-
Notifications
You must be signed in to change notification settings - Fork 2
Building notes
Rob Giseburt edited this page Aug 13, 2015
·
10 revisions
Problem: node-pre-gyp doesn't support electron
Error:
Error: Unsupported target version: 0.30.1
Notes while solving this: Electron has a list of version -> ABI at http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/index.json
Format:
{
"files": [
"darwin-x64",
"darwin-x64-symbols",
"linux-ia32",
"linux-ia32-symbols",
"linux-x64",
"linux-x64-symbols",
"win32-ia32",
"win32-ia32-symbols"
],
"chrome": "39.0.2171.65",
"modules": "17",
"version": "0.20.2",
"date": "2014-12-22",
"node": "0.13.0-pre",
"apm": "0.122.0",
"v8": "3.29.88.17",
"uv": "1.0.0",
"zlib": "1.2.3",
"openssl": "1.0.1i"
},
node-pre-gyp needs a file called abi_crosswalk.json that's called from versioning.js
Format:
"0.8.0": {
"node_abi": 1,
"v8": "3.11"
},
##Boilerplate
Switching to https://github.com/szwacz/electron-boilerplate