Closed bostondv closed 9 years ago
@bostondv I think you should be using nodeVersion: '0.21.x'
.
With these settings I still get an error though:
module.exports = {
tag: 'v0.21.2',
nodeVersion: '0.21.2',
buildDir: os.tmpdir(),
targetDir: 'dist',
projectName: '<%= projectName %>',
productName: '<%= productName %>'
};
>> In file included from ../src/xattr.cc:3:
>> ../node_modules/nan/nan.h:67:21: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
>> typedef v8::String::ExternalAsciiStringResource
>> ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> ExternalStringResource
>> /Users/dalvarez/.pong/.node-gyp/.node-gyp/0.21.2/deps/v8/include/v8.h:1936:19: note: 'ExternalStringResource' declared here
>> class V8_EXPORT ExternalStringResource
>> ^
>> In file included from ../src/xattr.cc:3:
@paulcbetts any idea why this is happening?
Your nodeVersion here should be '0.21.0'
Aaha, got it.
Weird, I thought I had tried that. Works now though, thanks!
@unindented Generally the rule has been for the past few releases is, every time the Atom Shell major version gets bumped by one, the nodeVersion gets bumped too. In the next version, io.js and Chrome 41 will both be synced up on the public release of V8, and we'll be able to rename this to iojsVersion
and have it be a real version number (i.e. one that is actually released other places too)
@paulcbetts That's awesome news. Thanks for the explanation!
Hey there,
I was able to successfully build atom-shell using v0.20.x and v1.1.5 of this script but trying to build atom-shell v0.21.1 fails.
Config:
Result:
Thanks