Open vforv opened 4 years ago
@vforv there is not enough information and also it seems the log is incomplete. Try providing more verbose log (you could also use --log trace
). Also, make sure that your devices are recognized by the CLI (does it appear in tns devices
output?)
@NickIliev I found this error on beginning of build:
Trying to handle SIGINT event. CLI overrides this behavior and does not allow handling SIGINT as this causes issues with Ctrl + C in terminal.
The stackTrace of the location trying to handle SIGINT is:
at process.on (/usr/local/lib/node_modules/nativescript/lib/nativescript-cli.js:24:28)
at /usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:122:15
at Array.filter (<anonymous>)
at load (/usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:120:21)
at module.exports (/usr/local/lib/node_modules/nativescript/node_modules/signal-exit/index.js:35:5)
at Object.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/proper-lockfile/lib/lockfile.js:296:1)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/usr/local/lib/node_modules/nativescript/node_modules/proper-lockfile/index.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
spawn: /usr/local/Cellar/node@10/10.16.0/bin/node "/usr/local/lib/node_modules/nativescript/lib/detached-processes/cleanup-process.js" "/usr/local/lib/node_modules/nativescript/lib/bootstrap.js"
Shasum of file /package.json is a1fa451feeb46b392abb90c13885e1885e4a474a
And here it stuck:
Project dir from hooksArgs is: .
Hooks directories: [ '/hooks' ]
BeforeHookName for command buildIOS is before-buildIOS
Xcode build...
spawn: xcodebuild "ONLY_ACTIVE_ARCH=NO" "CODE_SIGN_IDENTITY=" "build" "-configuration" "Debug" "-sdk" "iphonesimulator" "BUILD_DIR=/platforms/ios/build" "SHARED_PRECOMPS_DIR=/platforms/ios/build/sharedpch" "-workspace" "/platforms/ios/emenumobile.xcworkspace" "-scheme" "emenumobile"
Build settings from command line:
BUILD_DIR = /platforms/ios/build
CODE_SIGN_IDENTITY =
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphonesimulator13.2
SHARED_PRECOMPS_DIR = /platforms/ios/build/sharedpch
Any update on this issue? I have also been experiencing this Chokidar raised event change for ...
and the build hanging after nativescript-plugin-firebase.
I am using xCode 11.3.0 After I run
tns run ios --bundle --provision...
never finish process and app not compile on phone