I use a mouthstick to opeate by android tablet(since i am paralysed and cant use a laptop)..
I know front end development and wanted to learn Vuejs2.
So i need to use the CLI that Vue js offers i.e vue-cli
So for the command line interface i downloaded the termux app from play store which is a terminal for Android and file with many Linux packages
Using this i installed nodejs and vue-cli
But for the next step to proceed i ha Ave to execute the command
npm install
And then
npm run dev
The vue-cli is getting installed without any errors but running the npm run dev is giving many errors in the terminal and the app is not being started
What shall i do?
Tried same with learning angular 2 but same issue
Any help and suggestions are appreciated
I ran into a similar problem. It turned out that I had created my project in a directory out side the "storage" directory created by Termux. I don't know the details as to why, but apparently that was the problem. I re-created the vue project in a directory underneath the "storage" directory and those problems resolved. I still haven't gotten the project to run, though. Now I'm getting a single error about an unhandled promise rejection. Still researching that one...
Related
So I recently started working with my friend on his app project and I've had trouble building his react-native based project. It's both ios and android.
On android, I can get as far as building, but when I run the app shuts down instantly or shows a red screen with some firebase error.
On ios, I get a build error.
My question is: what do I need to install when I first pull the repo from github? I run '''yarn install''' straight away and run '''pod install''' from the ios folder but that isn't enough. Anything I should run for android more than the yarn install command I had already used?
Thanks!
It seems your development environment is not set up yet. Follow this link to set up your environment.
I have been trying to run a react native app on my windows laptop. Whenever I use npx react-native run-android I am getting some syntax error as shown below which suggests some error in react-native-wheel-picker package. I tried to debug my going through the library documentation, but everything looks fine. Can anyone help me through this?
I did some digging into it a bit and compared the old code which is working and new setup which I am trying to do with npm install and I compared the package-lock.json files of both. It is the culprit.
In the old one there are some inter dependencies of prop-types which are not properly installed with new setup using npm install. So, I copied the old package-lock.json and did the package installation and it worked like a charm :)
I'm a developer developing react-native using VSC on Windows. The build succeeds, but it turns out not to run
The react-native run-android command printed BUILD SUCCESSFUL.
But unfortunately in the next line
Access is denied.
With only a message, the app is installed on the device, but it doesn't run. When I run it, I see the make sure blabla error screen that appears when there is no node server.
This problem eliminated my two days.
I want to get help.
Ps. Note that project asd is a new project for testing. If you look at the existing project and test project, I guess it might be Java configuration, but ... I am suffering because there is no proper solution.
I'm attempting to install NativeScript with Angular2 with no luck. After installing TNS, I follow the next step which is Step 3. Install iOS and Android requirements in the tutorial and run the following command:
#powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"
However, I get the following error message every time I try it:
The error says: 'powershell' is not recognized as an internal or
external command, operable program or batch file.
My question is what can I do to fix the powershell command and get this installed? Do I have any other alternatives to install this?
Note: My PC is Windows 7 - 64 bit, and I have TNS installed correctly, I will greatly appreciate it if anyone know how to solve this problem. I just want to be able to install Nativescript and Angular2 and get started. Thank you!
UPDATE 1: I added the following to the environment variable: variable path cmd> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
And I was able to finish the 3rd step on an elevate command prompt. I installed all the android components in accordance to the step, but when I went back to run the tns now I get the following error: tns is not recognized as an internal or external command
What can I do to fix this issue? Do I need to somehow revert the path variable to get the TNS working?
Sounds like you don;t have your environment path set.
You can either try to set your environment path or manually install everything needed for development with NativeScript.
For the first option you can try to set your path with:
cmd> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
And then try to run the script for the autmated instalation.
If you prefer to install everything "by hand" you can take a look at this article. Installing everything manually can sound intimidating, but at least you will have an idea what exactly you are going to use in the mobile development. When I say installing "by hand" I mean that instead of running the Powershell, you can install all the required dependences one by one (Node.js, JDK, Android SDK, Android build tools and environment path setup)
Add the following to the environment variable: variable path cmd
> set PATH=%PATH%;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
This should work.
-I get this error when trying to deploy a simple meteor project (I'm trying to make a soundboard) to my android device on windows.
-The sound works on the browser build
-I wasn't getting this error message before the app could actually play sound
-I've tried meteor reset and removing the android platform and adding it again
-I've tried adding the cordova plugin manually using meteor add, but I'm not sure I'm getting the syntax right or even know the right plugin on git (I've been trying to add this one: https://github.com/floatinghotpot/cordova-plugin-nativeaudio)
This is the full error readout:
C:\Users\redacted\Documents\aaaaAppDev\Meteor\soundboardtest>meteor run android-device
[[[[[ C:\Users\redacted\Documents\aaaaAppDev\Meteor\soundboardtest ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Errors executing Cordova commands:
While adding plugin com.rjfun.cordova.plugin.lowlatencyaudio#1.0.0 to Cordova project:
Cordova error: Failed to fetch plugin com.rjfun.cordova.plugin.lowlatencyaudio#1.0.0 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: Registry returned 404 for GET on https://registry.npmjs.org/com.rjfun.cordova.plugin.lowlatencyaudio
(If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration.
You can try running again with the --verbose option to help diagnose the issue.)
C:\Users\redacted\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\isopackets\cordova-support\npm\node_modules\meteor\promise\node_modules\meteor-promise\promise_server.js:116
throw error;
^
ExitWithCode:1
So since the app was still small, I just created a new project and copied all of the code to the new one. I never did anything with "meteor add" in this new project, but it actually deployed to android.
I have a new problem that the audio won't play in the android version, but that seems like a different issue so I'm going to declare this one solved.