Cordova build error :transformclasseswithdexfordebug - html

When I try build app I get this error what I do?
I tried re-install node.js and cordova but it didn't work.

Why not use Ionic to build your app via Cloud.
First, run
ionic io init
Create account on Ionic website, put in the details on command live as asked.
Run the below command.
ionic package build android
No need to install anything, files will be built online.

Related

Detox mocking: Trouble with Metro Bundler in Github Actions

So I've been following the documentation for Detox mocking, and I have successfully gotten it to run locally. But only when I run APP_MOCK=mocked npx react-native start, so this means that when trying to create CI/CD with Github Actions, it starts the Metro bundler and hangs there,
like this.
I've tried adding APP_MOCK=mocked to react-native run-ios/android but it just results in the mocked files not being loaded. My guess is that the APP_MOCK=mocked enviromental variable does not exist in the new terminal that the Metro open.
So my question is this, can I add APP_MOCK=mocked to react-native run-ios and if yes, how? Or is it possible to programmatically open a new terminal in the same directory and then run the APP_MOCK=mocked npx react-native start script?
Thanks in advance!

Not install ngx-mqtt in angular 6?

Whenever I want to install ngx-mqtt in my angular application it not installed. There was an error message:
enter image description here
I think you are in node project and tried to install in node project. Make sure you are in angular project.
I have create a new angular project and tried to install it. And it installed perfectly.

Can't create new project in Angular 6 after updating angular cli to 6.0.0

I just updated my angular cli to version 6.0.0
here is the screenshot
and noticed some errors after checking the version of angular cli.
When i'm trying to create a project using "ng-new my-app"(without quote) it gives me this error
here is the screenshot
You are not using the correct command name. Use:
ng new my-app
Make sure you installed Angular CLI globally:
npm i -g #angular/cli
Then the command ng new will be recognized in your shell.
I have finally fixed the problem on the first screenshot, i updated my angular cli to version 6.0.1 using cmd, i was using git bash for updating my angular cli before, I think other modules was not installed globally that is why i received that error when checking the angular version.
Finally no errors
On the second screenshot i don't know why i could not still create a project and received that error on desktop and users folder, but i could successfully create a project in other locations like drive D:\ or E:\ using ng new command.

Ionic 2 - Google Maps working in browser, but not device

I have the following implementation of Google Maps api (see link below). It works perfectly when I run ionic serve and test it in a browser. However, when I do cordova build and deploy the apk to my android 6.0.1 phone, it fails. The map does not load and it hangs on the loading spinner.
If anyone has any ideas, I would appreciate the help.
Thanks
https://forum.ionicframework.com/t/google-maps-working-in-browser-but-not-device/58819
SOLVED:
I ran the following, and low the map loads on the device too:
cordova plugin add cordova-plugin-geolocation
Run the following commands:
ionic plugin add cordova-plugin-geolocation
and
npm install --save #ionic-native/geolocation`
This link would be helpful.

Visual Studio 2013 native cordova app build error

I just installed and repaired my VS2013 to build Native Cordova App. I have also installed the latest version of NodeJS but whenever I am trying to build the Application It gives me an error. I am uploading an image for more details on error as I believe image provide more info than text.
Posting error details if error is not clear in an image
Cannot find module 'q'.
The command ""C:\Users\nnnc\AppData\Roaming\npm\node_modules\vs-mda\vs-cli" prepare --platform Android --configuration Debug --projectDir . --projectName "BlankCordovaApp1" --language "en-US"" exited with code 8. C:\Users\nnnc\AppData\Roaming\npm\node_modules\vs-mda-targets\Microsoft.MDA.targets
I have advanced a little bit more but having hard time to run the application I have to manually installed all the required module. but now whenever I am running my project I get an error of web page is not available. please look at the attached image again.
I found that running npm install from within /vs-mda/ solved all my problems.
found the fix and that Involved manually loading packages like q via node js and in the end the fix for web page is not available was that ripple has changed and now we should not add it as an extension via chrome. it should be done via node js as well as below
npm install ripple -g
but before doing that delete it from chrome if you have got it otherwise just run the command.
Regards