Followed Steps provided by platform.appcelerator.com :
Account Created
Download Appcelerator Studio IDE
Installed Sucessfully
Launching by providing Username and Password
Error Occurred and unable to lanunch , Here is screenshot:
Kindly help to solve this issue . Any help is highy appreciated.
The problem is - Appcelerator Studio is unable to install latest appc CLI due to proxy/network configuration issues.
To identify the root cause.
Open a terminal and run the below command.
appc use latest
Is it the same error which you've reported? If yes, verify proxy configuration
appc config get proxyServer
Does it show any configured proxy? If yes, and it was set unintentionally, you can remove that by running the below command.
appc config set proxyServer
This will nullify your proxy configuration.
If there is no proxy configured, still you are facing the issue. Then, your network firewall is not allowing to access Appcelerator Software Update site.
Contact your network admin to unblock it.
Related
I can't launch my Android simulator. I have Android Studio installed as well as a couple of simulators. Any help appreciated!
error Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`.
warn Please launch an emulator manually or connect a device. Otherwise app may fail to launch.
info Installing the app...
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
you have to set the environment variable in your mac system.
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
copy those texts
type nano ~/.zshrc in mac terminal
source ~/.zshrc
paste copied texts
To save it, hit Ctrl + X, type Y to save, and then enter to keep the file name as it is.
I am attempting to get a mobile app to run using expo and whenever I run the simulator I get the following error.
One of the recommended solutions is to set the URL correctly in AppDelegate, and I have already tried to find this file and look at solutions on the web but I cannot even find the AppDelegate.m file to do this.
Do you know where it is and how I could update the file to fix my code?
Thank you!
Could not connect to development server.
Ensure the following:
- Node server is running and available on the same network - run 'npm start' from react-native root
- Node server URL is correctly set in AppDelegate
- WiFi is enabled and connected to the same network as the Node Server
URL: http://192.168.1.90:19000/node_modules/expo/AppEntry.bundle?platform=ios&dev=true&hot=false&strict=false&minify=false
ABI44_0_0RCTFatal
__37-[ABI44_0_0RCTCxxBridge handleError:]_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
main
start_sim
0x0
I'm a student going into back-end development for the first time and are trying to learn Node.JS. I downloaded a pdf book about Node.JS from sitepoint called: "Jumpstart Node.JS". In following the instructions to set up the server on the command line, install the dependencies, and navigate to localhost:3000, i got nothing except the following message: "Connection refused: localhost:3000", Can somebody please tell me what might have went wrong and how to fix it?
Edit1:
The instructions i followed is about setting up a node.js server using the Node command line, thus no code, simply cmd commands, however, here is a quick summary of the process i followed:
Created an account on MongoLabs and then a database using the free pricing plan.
Installed express using the command: npm install -g express#.2.5.8.
Created an applications with default options using this command: express authentication.
modified the package.json file in system32
installed the dependencies by typing cd authentication, hitting enter, and then typing the command: npm install
Typed node app and hit enter.
According to the instructions i should have seen a message: "Welcome to express" but instead got the error message.
In following the instructions to set up the server on the command line, install the dependencies, and navigate to localhost:3000
It seems that you didn't start the server.
Somewhere between installing the dependencies and navigating to the URL you need to actually start the server if you want it to serve the request.
Check that there is no copy of the server running in the background, or that another app is using the port currently.
(Your firewall show allow you to see which app has been allocated to that port)
Because nodejs requires it to be the only app on that port running on your computer.
Also try a different port maybe?
I followed the steps mentioned in following documents and everything runs perfectly.
https://facebook.github.io/react-native/docs/getting-started.html
https://facebook.github.io/react-native/docs/android-setup.html
https://facebook.github.io/react-native/docs/running-on-device-android.html
Now am trying to run the android app on my device but I get below error.
I tried following to resolve the issue:
react-native start > /dev/null 2>&1 &
adb reverse tcp:8081 tcp:8081
If I try to run without a server, bundle the jsfile into the apk by running:
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle"
I get
I followed all the steps outlined in this question react native android failed to load JS bundle but still I am not able to resolve the issue.
I am using my smartphone's data plan on my OSX machine via hotspot. I entered my machine's IP address inet 192.168.43.14 along with port 8081 in the react-native developer setting.
Any idea what am missing here?
Device details:
OSX El Capitan 10.11.1
Nexus 5(Rooted) 6.0.1
Node - v4.2.1
Trying to get JavaScript completion working in MacVim, using YouCompleteMe + TernJS.
I've followed the install instructions for both plugins (I use Vundle to manage vim plugins), which included running ./install.sh script inside the YCM plugin folder, and npm install inside the TernJS plugin folder. Installation of both appears to have completed successfully.
However I'm not getting any JS completions as I type; and if I try to manually trigger something in TernJS (eg. :TernDef), I get a HTML error page back from the local TernJS server, indicating a 403 Access Denied error.
If I launch MacVim with sudo (eg. sudo mvim); everything seems to work fine.
Also, without sudo, I can manually post a JSON document to the TernJS server (outside of vim) and get a valid response back.
I'm running MacVim 7.4.71 (installed via Homebrew; compiled with python support ), and node 0.10.21 (also installed via Homebrew).
Any ideas on what I could check, so that I can have TernJS completions without needing to use sudo to launch MacVim?
Figured it out.
My shell profile was setting the $http_proxy env variable so the requests from MacVim to the local TernJS server were trying to go out through a proxy server.
Fixed by adding export no_proxy=localhost to my shell profile, so that requests to http://localhost don't use a proxy.