Cannot create a project using appcelerator through CLI or Appcelerator Studio - appcelerator

When I try to create a project either through the appc new command, or through the Appcelerator Studio I get an error. I have tried to uninstall and reinstall Appcelerator Studio a couple of times, but the errors do not change. The appc output is below, the error from the studio is the same:
[INFO] Creating app project
[INFO] Template directory: /Users/<user>/Library/Application Support/Titanium/mobilesdk/osx/8.1.0.GA/templates/app/default
[INFO] Writing tiapp.xml
[INFO] Project created successfully in 163ms
An uncaught exception was thrown!
Unexpected end of JSON input
Unexpected end of JSON input

Please make sure you have the latest Appcelerator CLI installed using
npm i -g appcelerator
Alternatively, you can build via the Titanium Open Source CLI. You can install it with npm i -g titanium and run the app via ti build p ios|android.

Related

How do I add an "install" target to a Xamarin.UWP .csproj file?

I am trying to build and launch a Xamarin.Forms UWP application from the command line. Using the developer command prompt for Visual Studio 2019 I run the following command:
msbuild -t:build "project path\SimToools.UWP.csproj" && msbuild -t:install "project path\SimTools.UWP.csproj"
Although once I run this command, the build is completed successfully, then I'm met with this error in the command prompt as shown in the image below:
How do I add an install target in the SimTools.UWP.csproj file for MSBuild?
How do I add an “install” target to a Xamarin.UWP .csproj file?
Derive from above description, you have build the app successfully. But it throw error when install the app. msbuild does not support install the UWP app. And for installing UWP app you may need use WinAppDeployCmd.exe command tool to approach. For more detail please refer Install apps with the WinAppDeployCmd.exe tool document.

occurred evaluating root project 'android' No installed build tools found. Install the Android build tools version 19.1.0 ionic 3

i'm getting this error for building unsigned apk for ionic 3
i'm getting this error
What went wrong: problem occurred evaluating root project 'android'.
No installed build tools found. Install the Android build tools
version 19.1.0 or higher.
i have installed android studio 9.*
which looks like this
the command that i followed
ionic cordova platform rm android
cordova run android
Thanks in Advance!!
Seems like your Android SDK is not updated.

How to fix build error when running `react-native run-windows`?

After running react-native windows in a freshly initialized React Native app, if you immediately run react-native run-windows this error happens:
Build failed with message Error: Command failed: "C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe"
"C:/<path_to_project>/windows/<project_name>.sln" /clp:NoSummary;NoItemAndProperty;Verbosity=minimal /nologo
/p:Configuration=debug /p:Platform=x86
. Check your build configuration.
This can happen when you have installed Visual Studio, but never started it as "devenv.exe" before trying to use some commandline tools. There is some additional setup that happens on first launch of Visual Studio before the commandline tools can be invoked by the react-native run-windows command.
See the React Native Windows troubleshooting section for more information:
https://github.com/microsoft/react-native-windows/blob/0.60-stable/current/docs/SetupTroubleshooting.md

Error when building AngularJSToDo hybrid app in Visual Studio

I have installed Multi-Device Hybrid Apps for Visual Studio 2013 - CTP2,and other development tools are properly set up.
Now I get some errors when trying to build for Android, iPhone, and for Windows Phone.
error 1: Cannot find module 'qs'
error 2: “"C:\Users\Administrator\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "AngularJSToDo" --language "zh-CN"” exited with code 8。 C:\Users\Administrator\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
please help me with this problem.
It seems something went wrong while installing Cordova and other dependencies. q module is a library for promise.
Run following npm commands from command prompt,
Close Visual Studio
Open cmd
npm install -g [path to vs-mda example C:\Users\[user-name]\AppData\Roaming\npm\node_modules\vs-mda]
npm install -g [path to vs-mda-targets example C:\Users\[user-name]\AppData\Roaming\npm\node_modules\vs-mda-targets]
Open project and build

PhoneGap 3.3.0 WP8 project giving MSBuild error

I've decided to try PhoneGap and installed the Node package for it. (Phonegap 3.3.0)
Android projects work fine. But when I try to build a WP8 (or WP7) App I get this error:
An error occurred while building the wp7 project.ERROR: MSBuild failed
to create .xap when building cordova-wp7 for debugging.
I'm running Windows 8 Pro 64 bit, Visual Studio 2013 Ultimate, NodeJS & PhoneGap 3.3.0
A sidenote: WP8 Projects created with the Cordova Project Templates work perfectly fine.
It's the command line version that's giving me trouble.
I faced the same issue...
Perhaps it's an issue of the required files (for compilation) not being at the said path, since I could resolve it by running in the Visual Studio Command Prompt & compile successfully:

Resources