Appcelerator Studio OSX, tries to install Node and Fails - appcelerator-studio

Having removed NODE, NPM and Appcelerator Studio and re-installed the lot, I can not launch the Studio without it attempting to Install node - it then fails (see image in link).
MacBook-Pro:MacOS timfisher$ node -v
v4.2.0
This is on a MacBook Pro running HighSierra - any help would be greatly appreciated.
Link to Image

Looks like something going wrong in installing node by the studio.
Can you install Node v6.9.0 (LTS) and launch studio. 4.2.0 is the minimum required version for Studio 4.10.0

Related

Flutter Doctor shows VSCode not installed, even though its installed in my computer

I am installing flutter for the first time in my laptop. When I ran flutter doctor it shows that VSCode is not installed, even though I have been using it for a while now.
I already have installed VSCode in my laptop but flutter doctor shows that it isn't installed. Ig its got something to do with the path. I'm not rly sure, kindly help....
As you know, you can make desktop applications with Flutter as well. Therefore Flutter need Visual Studio and "Desktop Development with C++" tool. Flutter doctor terminal says which version you need to install as well.
The warning message means you didn't installed Visual Studio (not visual-studio code).
You can download and install visual-studio to build windows app. Make sure to install Desktop development with C++.
You can follow this to build Windows app

! Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio

I'm experiencing below error in my Wondows 10 PC during flutter installation.
I'm attaching pictures as well. I retried removal and reinstallation below versions as well as version 11 SDK.
Windows 10 SDK (10.0.20348.0)
Windows 10 SDK (10.0.19041.0)
Windows 10 SDK (10.0.18362.0)
ERROR
"! Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio."
As I'm using office PC I can not reinstall windows in any way. Can anyone suggest me solution please?
I tried reinstallation as well as tried some forum solutions. Nothing worked for me!
I had the same issue and resolved it by installing Visual Studio Build Tools.
The Flutter documentation at https://docs.flutter.dev/get-started/install/windows#windows-setup advises to install either Visual Studio or Visual Studio Build Tools. Be sure to include the "Desktop development with C++" component when installing (you'll see it as an option during the installation process).

Flutter Doctor gives Bad Cpu Type in executable

I'm using Mac mini , MacOs monterey and m1 chip. When trying to setup flutter, it is giving error.
command: flutter doctor
o/p: /Users/admin/Desktop/flutter/bin/internal/shared.sh: line 229: /Users/admin/Desktop/flutter/bin/cache/dart-sdk/bin/dart: Bad CPU type in executable
I have tried below command but it is also not working,
Terminal command: sudo softwareupdate --install-rosetta --agree-to-license
Terminal output:
By using the agreetolicense option, you are agreeing that you have run this tool with the license only option and have read and agreed to the terms.
If you do not agree, press CTRL-C and cancel this process immediately.
Rosetta 2 update is not available
you have to install rosetta first. In your terminal type:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
I got this error on MacOs VMware
and finaly I realized that i was downloaded the flutter sdk for arm Architecture, but i need this for x64 (intel) Architecture.
run "softwareupdate --install-rosetta" in the terminal
On macOs accidentally I downloaded arm architecture than x64 version.
Download proper version as per the system requirements.
My mistake was that , I had installed flutter sdk before installing the Rosetta. So that's why it was giving the above error. So, to resolve this, I removed the flutter sdk and installed rosetta first then again installed flutter and it worked properly.

Unable to install locust on windows

Hi i am trying to install locust on windows with python version 3.7.3, using pip install locustio but getting below error.
ERROR: Could not build wheels for gevent which use PEP 517 and cannot be installed directly
I was getting above error because Visual Studio was not installed in my machine. When I did I was able to install locust, and its working fine now.
Had faced a similiar issue on MacOS.
The MacOS Catalina update upgraded my system python was 3.8. (Gevent works with <3.7)
Installing a lower version with pyenv fixed it.

Can not run my app on emulator - error while loading state for instance 0x0 of device 'goldfish_pipe'

Yesterday I've created Pixel 3 XL device to test my app on emulator. It was working yesterday but today I'm getting these errors when I try to run my app.
14:58 Emulator: C:\Users\Mert\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: error while loading state for instance 0x0 of device 'goldfish_pipe'
14:58 Emulator: deleteSnapshot: for default_boot
14:58 Emulator: Process finished with exit code 0
for me, I have installed a newer version of HAXM and it worked perfectly
Deleting device from AVD Manager and creating a new one(I created the same one) worked for me
Download the google play version marked in yellow rather google API.
Creating emulator again with image from google play will also make sure reinstallation of HAXM.
I solve this issue within Android Studio SDK Manager, update to a newer version of Android SDK Build-Tools and Intel x86 Emulator Accelerator (HAXM installer), in the HAXM installer wizzard I put 4GB RAM size.
image
In my case I deleted the old devices and downloaded the Google Play play version image and manually changed adb.exe file.
Actually the working HAXM version isn't always the newests, as other answers suggest. I had HAXM version 7.8.0 (latest version ATM) installed on my Windows, but even though I was getting the question error (error while loading state for instance 0x0 of device 'goldfish_pipe'). I had it installed via its own installer, outside Android Studio, because I was getting error trying to install HAXM via Android Studio.
Then I had the idea to uninstall that latest version (7.8.0 ATM) and again try to install the version shown in Android Studio (7.6.5 ATM) via Android Studio itself, and it worked! So I realized the steps I needed to take in order to successfully install HAXM via installer (step 1 shown here) also fixed the problem trying to install it via Android Studio! And finally, after hours and hours of harrassment, I could successfully launch a virtual device on the emulator.
Below is the step for successfully installing HAXM (taken from here):
At last but not least, make sure you have no other virtual machine running! It would throw you at this thread's error.
My case is:
disable Intel x86 Emulator Accelerator (HAXM installer) in Android Studio SDK Manager
uninstall HAXM as a result
enable again Intel x86 Emulator Accelerator (HAXM installer) in Android Studio SDK Manager
install HAXM as a result
recreate emulated AVD
finally works for Me