An unknown server-side error occurred while processing the command. Original error: Cannot read properties of undefined (reading 'match') - android-studio

I just started mobile automation testing and I'm trying to write tests for android on Android Studio with Appium, however I think I just did something wrong in configuration process. I was getting some other errors and these are the things I've done so far.
set ANDROID_HOME path
set JAVA_HOME path
updated node version
After doing these I've started appium server and tried again. I was able to communicate with the emulator but something is still off.
run command
appium-doctor and flutter doctor seems fine though.
appium-doctor
flutter doctor
And this is the exact error message I get.
this
Any help is appreciated. Thanks in advance.

I solved the case a while ago, thought could help someone. The problem was the first config I copied from another how-to source. It was trying to use appium-flutter-driver and I assume therefore there was a code snippet like this:
'appium:automationName': 'Flutter'
Which wasn't working because I was trying to run it with appium-flutter-finder. I don't exactly know what happened there but when I looket it up from appium's guide and did the default config they gave there the problem is gone. Which is:
'appium:automationName': 'Appium'

Related

TypeError: resolver.resolve is not a function

When trying to truffle compile smart contracts and deploy them to an RPC testnet, I keep encountering
TypeError: resolver.resolve is not a function
at Profiler. (/opt/homebrew/Cellar/truffle/5.3.6/libexec/lib/node_modules/truffle/build/webpack:/packages/compile-common/dist/src/profiler/profiler.js:55:1).
In visual studio code I can't find resolver.resolve anywhere in my code and even cloning projects straight from github it always displays this message when truffle compiling. I have searched everywhere for the resolution and tried debugging myself in the terminal and my current thinking is it's a webpack error but I can't figure out how to solve it. Any help would be greatly appreciated!
I was also in same situation then i find the solution. Follow these steps
Remove node_modules directory & package-lock.json (Not package.json)
Go to your cli & run npm install command
You are done
Hope this solve your problem

Uncaught TypeError: Cannot read property 'id' of undefined at registerNgModuleType

I have a problem that when I clone my repository of the app in angular, after installing the node_module and executing the ng serve it throws me this error and I have already looked for a thousand and one answers but none are correct, the app is from angular 8.1 and my angular global is 11 I do not know if it can influence, but it is with the only angular project that happens to me, at times the ng serve lifts the project and it can be seen but I barely make a modification and I give it save this error appears, I need help that advice me give?
enter image description here
I had the same problem.
I solved the problem by disabled the Angular Language Service for that workspace.
I hope this solves your problem
I could find the error, it turns out that VS code as editor every time I ran the npm install and then the ng serve ran perfect, one time I make a modification and give it ctrl + s it bugea my project and when I run the ng serve me again I get the error, so I had to clone my repository again and work with sublime text and it did not give me the error. It must have been some vscode plugin that makes this happen but it is with very few projects.

React start up problem with new react app windows [solved]

Hello i am not really sure how to explain my problem or how to ask for help.
But am going to try it anyway lately when i create a react app it installs like normal.
But from the moment i use npm start i get this error (npm start error terminal).
Which says it has nothing wrong with node js/npm so i suspected it was something about the react app dependency that was wrong. When i downgrade to a older version of react scripts it works but the newest version 16.13.1 doesn't work even tho i use this version of react on my windows laptop. In case it helps to solve my issue here is the error log that npm generates (error log npm) i hope this helps to solve my issue
I have found the solution for my problem by setting the path value for system32.
You can do this by the following steps
Goto > Control Panel\System and Security\System\Advance system setting\Enviroment variable and set system variables path C:\Windows\System32\ variable and restart your System.
After i have done these steps it seems to work

jhipster project is broken after upgrade

My jhipster project was working fine before. Past two days it is acting funny. There is some version changes causing these issues.
Initially I got the following error in console, when I tried navigating to different page :
NavigationError(id: 2, url: '/ext-task-group-list', error:
InvalidCharacterError: String contains an invalid character)
In an effort to try to fix this problem, I ran
jphister upgrade
the upgrade is successful. However, mvnw command is not starting the server. Instead it is compiling the project and comes out successfully.
Couldnt find any resource in the net.
Anyone have fix for these two issues, pls share.
Start by doing a mvnw -X to see all the debug errors. That will give you more detail that you can go by

Facebook and google maps plugins don't work together in PhoneGap app

I am going to create the app that shows google map and required social login with facebook.
I decided to use:
https://github.com/Wizcorp/phonegap-facebook-plugin
and
https://github.com/wf9a5m75/phonegap-googlemaps-plugin
I don't know what is a reason, but these plugins perfectly work alone, but when I installed them together I got next error:
BUILD FAILED
C:\Users\{USER_NAME}\AppData\Local\Android\sdk\tools\ant\build.xml:577: Jar mismatch! Fix your dependencies
Total time: 1 second
{APP_PATH}\platforms\android\cordova\node_modules\q\q.js: 126
throw e;
^
Error code 1 for command: cmd with args: /s /c "ant debug -f {APP_PATH}\platforms\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
ERROR running one or more of the platforms: Error: {APP_PATH}\platforms\android\cordova\run.bat: Command failed with exit code 8
You may not have the required environment or OS to run this project
I am not experienced in PhoneGap development, but I guess that both plugins are doing some changes in platform dependencies (and rewriting changes of another plugin).
Could anybody help me with this?
I got the answer of google-maps plugin creator:
The facebook plugin contains android-support-v4.jar, and the map
plugin installs another android-support-v4.jar.
Remove one of them.
I took off android-support-v4.jar from com.phonegap.plugins.facebookconnect folder and left it in libs folder. It was solved my issue (fb and g-maps work together).
So I can mark this question as closed now.
I leave this answer for anybody who meets this issue like me.

Resources