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

ionic-v1[1268]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfov8::Value &): Assertion `args[1]->IsString()' failed. #3790

Closed
digitalfractal opened this issue Dec 11, 2018 · 6 comments
Labels

Comments

@digitalfractal
Copy link

Description:
trying to run an ionic 1 project build on mac command line and build a new xcode project

Steps to Reproduce:

running ionic cordova build ios

Output:

ionic-v1 build
ionic-v1[1268]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfov8::Value &): Assertion `args[1]->IsString()' failed.
1: 0x10003ae75 node::Abort() [/usr/local/bin/node]
2: 0x100039ed3 node::AddEnvironmentCleanupHook(v8::Isolate*, void ()(void), void*) [/usr/local/bin/node]
3: 0x1000649b7 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node]
4: 0x10023036f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
5: 0x10022f50b v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node]
6: 0x10022ef27 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
7: 0x2af160edbe3d
8: 0x2af160e8d145
9: 0x2af160f0b87d
10: 0x2af160e918d5
11: 0x2af160e918d5
12: 0x2af160e918d5
[ERROR] Non-zero exit from subprocess.

My ionic info:

Ionic:

ionic (Ionic CLI) : 4.3.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.4
@ionic/v1-toolkit : 1.0.14

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 6.2.3, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-webview 1.1.1, (and 8 other plugins)

System:

NodeJS : v10.13.0 (/usr/local/bin/node)
npm : 6.4.1
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

Other Information:

@ionitron-bot ionitron-bot bot added the triage label Dec 11, 2018
@imhoffd imhoffd changed the title ionic build ios exisiting with Error Non-zero exit from subprocess. ionic-v1[1268]: ../src/node_contextify.cc:628:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfov8::Value &): Assertion `args[1]->IsString()' failed. Dec 13, 2018
@imhoffd
Copy link
Contributor

imhoffd commented Dec 13, 2018

Duplicate of #3462

@imhoffd imhoffd marked this as a duplicate of #3462 Dec 13, 2018
@imhoffd imhoffd closed this as completed Dec 13, 2018
@imhoffd
Copy link
Contributor

imhoffd commented Dec 13, 2018

Fix is here: #3462

Let me know if it doesn't work.

@digitalfractal
Copy link
Author

digitalfractal commented Dec 13, 2018 via email

@imhoffd
Copy link
Contributor

imhoffd commented Dec 13, 2018

@digitalfractal Try updating your Node version to latest 10?

@digitalfractal
Copy link
Author

digitalfractal commented Dec 13, 2018 via email

@digitalfractal
Copy link
Author

digitalfractal commented Dec 22, 2018 via email

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

No branches or pull requests

2 participants