You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FATAL ERROR: v8::ArrayBuffer::Neuter Only externalized ArrayBuffers can be neutered #3619
I keep getting this error "FATAL ERROR: v8::ArrayBuffer::Neuter Only externalized ArrayBuffers can be neutered" when I run "tns platform add ios" or "tns platform add android"
We're having this error when compiling node-ffi on 5.0.0. Haven't found anything about this in the changelog. Is it an issue of node side, or should we (native module developers) change something in our codebase to work around this?
@charismsft That depends on how you installed it in the first place. I would recommend opening an issue in https://github.com/nodejs/help/issues explaining what OS you are running and how you installed it.
@bnoordhuis patched 4.x version (with 931118c) works fine, however 5.x is broken.
The question is does everyone experiencing the problem here installed node from the website? If so - may I ask you to try building it from source and testing again?
I had to skip one commit because it did not build cleanly, but it's either d8011d1 or 7fb128d.
There are only 'skip'ped commits left to test.
The first bad commit could be any of:
d8011d1683fe0d977de2bea1147f5213d4490c5a
7fb128d8dff0e690e2c31b3bc192c027932a4608
We cannot bisect more!
I guess it's not surprising that it would be triggered by a v8 upgrade.
Activity
svc76 commentedon Oct 31, 2015
+1, i have tried npm i -g tns-ios to reinstall things but it still fails.
xcode version 7.1 (7B91b)
tns doctor reports no issues
Trott commentedon Oct 31, 2015
@SAMB90 @charismsft What version of Node?
Trott commentedon Nov 1, 2015
I'm able to reproduce this error with node 5.0.0 but reverting to node 4.2.1 fixes it.
Chances are you need to wait for https://github.com/NativeScript/nativescript-cl to be updated to work with node 5.0.0 but that's just a guess.I would recommend watching and/or commenting on NativeScript/nativescript-cli#1129.svc76 commentedon Nov 1, 2015
how do i revert back to 4.2.1?
unbornchikken commentedon Nov 1, 2015
We're having this error when compiling node-ffi on 5.0.0. Haven't found anything about this in the changelog. Is it an issue of node side, or should we (native module developers) change something in our codebase to work around this?
bnoordhuis commentedon Nov 1, 2015
/cc @indutny - looks like 931118c is responsible.
Trott commentedon Nov 1, 2015
@charismsft That depends on how you installed it in the first place. I would recommend opening an issue in https://github.com/nodejs/help/issues explaining what OS you are running and how you installed it.
indutny commentedon Nov 1, 2015
@bnoordhuis patched 4.x version (with 931118c) works fine, however 5.x is broken.
The question is does everyone experiencing the problem here installed node from the website? If so - may I ask you to try building it from source and testing again?
Trott commentedon Nov 1, 2015
@indutny:
indutny commentedon Nov 1, 2015
@Trott is there an easy way to reproduce it?
Trott commentedon Nov 1, 2015
I was doing something like this from the topmost dir in the repo clone:
Running
git bisectright now to try to identify the commit that causes the issue to show up.indutny commentedon Nov 1, 2015
Thanks.
Trott commentedon Nov 1, 2015
I had to skip one commit because it did not build cleanly, but it's either d8011d1 or 7fb128d.
I guess it's not surprising that it would be triggered by a v8 upgrade.
indutny commentedon Nov 1, 2015
Looking... I think I'm close to it.
indutny commentedon Nov 2, 2015
Gosh:
indutny commentedon Nov 2, 2015
Fix:
@Trott mind giving it a try?
indutny commentedon Nov 2, 2015
Will continue looking into it once I'll return back to computer.
indutny commentedon Nov 2, 2015
Actually, I think this fix is correct. I'll write a test for it, should be easy thing.
Trott commentedon Nov 2, 2015
@indutny That change fixes it for me.
buffer: neuter external `nullptr` buffers
buffer: neuter external `nullptr` buffers
EverybodyKurts commentedon Nov 9, 2015
Hello all, I am experiencing this issue as well. Why was this issue closed?
Trott commentedon Nov 9, 2015
It's closed because it has been fixed on the master branch.
However it has not been part of a release yet.
Look for it in version 5.1.0 which seems likely to come out this week.