When attempting to build my Ti app, run it in the simulator, or run it on my device, suddenly I get this error during compile:
[ERROR] : (404) The request is not recognized!
TRACE | titanium exited with exit code 100
ERROR | Error: ti run exited with error code 100
at ChildProcess.<anonymous> (/Users/natej/.appcelerator/install/4.1.2/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
I am running latest Appcelerator Studio and building with Ti SDK 4.1.0 GA. I have tried to Clean my project, but that didn't help. Normally when there's a bug in my code I get a helpful error message and it indicates the offending line number. But this tells me nothing and I have no idea what to do about it.
I did find this bug report: https://jira.appcelerator.org/browse/CLI-764
Anything I can do?
Currently Appcelerator is having issues / is down. You can find more here: https://community.appcelerator.com/topic/151/error-invalid-session-titanium-exited-with-exit-code-100/21
Just wait till they fix it, and you can build again. You can use the old Titanium CLI to build though. Just type ti build in CLI
edit: it seems up again
Related
I am trying to use revenueCat on my expo managed workflow project using this tutorial. I am trying to test the project by running expo run:ios but I get these bunch of errors. Here is a screenshot -
› 215 error(s), and 1 warning(s)
Failed to build iOS project. "xcodebuild" exited with error code 65.
error Command failed with exit code 1.
I don't know how else to fix. Can someone help?
You cannot add packages with native code to expo (Excep of config plugins)
I am building a mobile application using React-Native. I am now trying to run my application on Android Emulator. First, this is the continuation of this question. I installed the Android Studio and configured the environment as I mentioned in the previous question.
This is what I did to fix the error from previous question.
I changed the line 13 in android/gradle.properties to this:
org.gradle.jvmargs=-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
When I run "react-native run-android" command this time, I am getting the error. The error is saying it could not find '/Users/waihein/Desktop/Code/shar-kya-mal-app/node_modules/#react-native-community/cli-platform-android/native_modules.gradle' file.
So I run npm i #react-native-community/cli-platform-android command to install the required package.
The I delete node_modules folder and run "npm install" again. Then I run "react-native run-android". I am getting the following error this time.
* Where:
Settings file '/Users/waihein/Desktop/Code/shar-kya-mal-app/android/settings.gradle' line: 8
* What went wrong:
A problem occurred evaluating settings 'sharkyamalapp'.
> Could not open dsl generic class cache for script '/Users/waihein/Desktop/Code/shar-kya-mal-app/node_modules/#react-native-community/cli-platform-android/native_modules.gradle' (/Users/waihein/.gradle/caches/6.8/scripts/a43tr593rdpk11ispliu0nu14).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61
But the file is there I can see it in the node_modules folder. How can I fix it?
I am new to react native and I am trying to run react native on IntelliJ. My Android emulator on IntelliJ works perfectly fine however, my iOS emulator doesn't work properly and I am using MacOS X. I'm encountering issues "error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening API.xcworkspace. Run CLI with --verbose flag for more details."
I installed everytying and ran the following steps:
react-native init AwesomeProject
cd AwesomeProject
react-native run-ios
But I'm getting a BUILD FAIL and the following error:
Error: xcodebuild process exited with code 65
at ChildProcess.<anonymous> (runIOS.js:102:14)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
Any idea what is going on? I followed the exact steps from the docs:
https://facebook.github.io/react-native/docs/getting-started.html#content
Here is the solution
first delete ios/build folder then run
sudo react-native run-ios
SOLVED: Always be sure to update your Xcode folks!
Protip: And don't do it from the apple store (but always do it from an official apple website of course)
tip from: http://ericasadun.com/2016/03/22/xcode-upgrades-lessons-learned/
official apple download page: https://developer.apple.com/download/more/
For people not wanting to download and install XCode again:
After updating to XCode 8, open your project and set your signing identity right again
Run the project, maybe it will work again. If not, you will most likely get and error from RCTWebSocket
Double click on the RCTWebSocket project in your navigator and remove the flags under build settings > custom compiler flags. Details here: https://github.com/facebook/react-native/issues/8584#issuecomment-236366222
i had the same issue
mac os el capitan
xcode 7.3.1
at this time react-native#0.59.0 was release but it didn't work for me
i installed react-native with older version
and used this command and made a new project
react-native init --version="react-native#0.53.0" myproject
now it's okay and is working perfect
I get the error shown below every 3-5 times I reload the iOS app for React Packager. When restarting Xcode with that error, I see this in the packager window:
"login: fork: Resource temporarily unavailable
[Process exited - exit code 1]"
The above will not even allow opening any terminal on the Mac.
The only way to make it work is to REBOOT the machine (Running OS X 10.10.5, react-native 0.10 stable and also 0.11 stable)
WARN: not opened
Launching Dev Tools...
TypeError: Cannot read property 'addListener' of undefined
at exports.execFile (child_process.js:234:15)
at Object.handle (/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/packager.js:198:7)
at next (/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/node_modules/connect/lib/proto.js:190:15)
at Object.openStackFrameInEditor [as handle] (/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/packager.js:184:5)
at next (/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/node_modules/connect/lib/proto.js:190:15)
at IncomingMessage.<anonymous> (/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/packager.js:174:5)
at emitNone (events.js:67:13)
at IncomingMessage.emit (events.js:166:7)
at endReadableNT (_stream_readable.js:893:12)
at doNTCallback2 (node.js:429:9)
ERROR spawn /Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/launchChromeDevTools.applescript EAGAIN
{"code":"EAGAIN","errno":"EAGAIN","syscall":"spawn /Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/launchChromeDevTools.applescript","path":"/Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/launchChromeDevTools.applescript","spawnargs":["http://localhost:8081/debugger-ui"]}
Error: spawn /Users/brianmcginnis/learn/react-native2/senior-tab/SeniorTab/node_modules/react-native/packager/launchChromeDevTools.applescript EAGAIN
at exports._errnoException (util.js:837:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at doNTCallback2 (node.js:429:9)
at process._tickCallback (node.js:343:17)
See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
Process terminated. Press <enter> to close the window
Try updating to the latest version of Native.
Also, if you are running your sim in xcode, you can clear the cache of your project by using command+shift+k with the project stopped.
See if this clears it whenever you have the problem.
I installed latest version of react native, then uninstalled iojs. I installed latest Node.js and everything now works.