Skip to content

"tns platform add ios" generates Fatal Error: v8::ArrayBuffer::Neuter #1129

@EdwardSaid

Description

@EdwardSaid

This is in reference to your "http://docs.nativescript.org/getting-started" (sample-Groceries), in particular these 2 steps:

$ tns platform add ios
$ tns platform add android

I am getting the following when executing either of the above at the command line:

FATAL ERROR: v8::ArrayBuffer::Neuter Only externalized ArrayBuffers can be neutered
Abort trap: 6

Here's a little background:

It seems that I have gone through all the steps of installing tns successfully (http://docs.nativescript.org/setup/ns-cli-setup/ns-setup-os-x.html).

To clarify further, here is the result of
$ tns platform add ios --log trace

Exec uname -a
stdout: Darwin Imads-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64

stderr:
Exec npm -v
stdout: 3.3.9

stderr:
spawn: java -version
Exec node-gyp -v
stdout:
stderr: /bin/sh: node-gyp: command not found

Exec xcodebuild -version
stdout: Xcode 7.1
Build version 7B91b

stderr:
Exec pod --version
stdout: 0.39.0

stderr:
Exec adb version
stdout: Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android

stderr:
Exec android -h
stdout:
Usage:
android [global options] action [action options]
Global options:
-s --silent : Silent mode, shows errors only.
-v --verbose : Verbose mode, shows errors, warnings and all messages.
--clear-cache: Clear the SDK Manager repository manifest cache.
-h --help : Help on a specific command.

                                                                Valid
                                                                actions
                                                                are
                                                                composed
                                                                of a verb
                                                                and an
                                                                optional
                                                                direct
                                                                object:
  • sdk : Displays the SDK Manager window.

  • avd : Displays the AVD Manager window.

  • list : Lists existing targets or virtual devices.

  • list avd : Lists existing Android Virtual Devices.

  • list target : Lists existing targets.

  • list device : Lists existing devices.

  • list sdk : Lists remote SDK repository.

  • create avd : Creates a new Android Virtual Device.

  • move avd : Moves or renames an Android Virtual Device.

  • delete avd : Deletes an Android Virtual Device.

  • update avd : Updates an Android Virtual Device to match the folders
    of a new SDK.

  • create project : Creates a new Android project.

  • update project : Updates an Android project (must already have an
    AndroidManifest.xml).

  • create test-project : Creates a new Android project for a test package.

  • update test-project : Updates the Android project for a test package (must
    already have an AndroidManifest.xml).

  • create lib-project : Creates a new Android library project.

  • update lib-project : Updates an Android library project (must already have
    an AndroidManifest.xml).

  • create uitest-project: Creates a new UI test project.

  • update adb : Updates adb to support the USB devices declared in the
    SDK add-ons.

  • update sdk : Updates the SDK by suggesting new platforms to install
    if available.

    stderr:
    Exec mono --version
    stdout:
    stderr: /bin/sh: mono: command not found

Exec git --version
stdout: git version 2.4.9 (Apple Git-60)

stderr:
Exec gradle -v
stdout:

Gradle 2.8

Build time: 2015-10-20 03:46:36 UTC
Build number: none
Revision: b463d7980c40d44c4657dc80025275b84a29e31f

Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.8.0_65 (Oracle Corporation 25.65-b01)
OS: Mac OS X 10.10.5 x86_64

stderr:
Exec javac -version
stdout:
stderr: javac 1.8.0_65

System information:
{ procInfo: 'nativescript/1.4.3',
platform: 'darwin',
os: 'Darwin Imads-MacBook-Pro.local 14.5.0 Darwin Kernel Version 14.5.0: Tue Sep 1 21:23:09 PDT 2015; root:xnu-2782.50.1~1/RELEASE_X86_64 x86_64\n',
shell: '/bin/bash',
dotNetVer: null,
procArch: 'x64',
nodeVer: 'v5.0.0',
npmVer: '3.3.9',
javaVer: '1.8.0',
nodeGypVer: null,
xcodeVer: 'Xcode 7.1\nBuild version 7B91b\n',
itunesInstalled: true,
cocoapodVer: '0.39.0\n',
adbVer: 'Android Debug Bridge version 1.0.32',
androidInstalled: true,
monoVer: null,
gitVer: '2.4.9 (Apple Git-60)',
gradleVer: '2.8',
javacVersion: '1.8.0_65' }
Initializing analytics statuses.
Analytics statuses:
{ TrackFeatureUsage: 1, TrackExceptions: 0 }
Trying to track feature 'CLI' with value 'platform'.
BeforeHookName for command platform-add is before-platform-add
AfterHookName for command platform-add is after-platform-add
Looking for project in '/Users/imadatalla/Documents/shmarter/tests/sample-Groceries'
Project directory is '/Users/imadatalla/Documents/shmarter/tests/sample-Groceries'.
FATAL ERROR: v8::ArrayBuffer::Neuter Only externalized ArrayBuffers can be neutered
Abort trap: 6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions