Spring-shell screen clearing on startup in ConEmu - conemu

I use this version: https://github.com/spring-projects/spring-shell/tree/main/spring-shell-samples
I use this console: https://conemu.github.io/
Simple problem: screen is 'clearing' on startup. It looks like a million of empty lines is written to the output. In regular windows cmd it works fine, in Intellij terminal it works fine, only this console has a problem. In previous versions of spring-shell it works fine, so something changed there, but it still works on other consoles. What could it be?

Related

How do show the actual line in chrome console (Errors tab messages)?

I saw two similar questions, which are still no one answer, I would want to raise this question again.
Minified component stack trace in create-react-app (dev mode)
Create-react-app console shows chunk files
May I know how can display the actual line which causes the issue in the console? I tried to click the chunk.js file, which only redirects to the first line of its file.
Try the pretty print option to beautify the chunk.js file, which would then jump to the line causing the error (see the GIF below). You might still see the uglified variable names, if no source map is available.
More info:
https://www.canidev.tools/pretty-print-js

how to solve code formatter problem in reactjs program?

First Picture contains the program that I am trying to execute in the browser. When I press Ctrl+S to save my changes, vscode automatically changes the format style of the code.
Second Picture showing an error in vscode although it compiles and run successfully in the browser which shows the correct output.
I have tried to enable/disable the Prettier extension but nothing happened.
What is the cause for the problem: npm / react file / vs code.
change file format to javascript-react on the bottom toolbar

Why does the open source reload function not work?

I developed a new electron-angular project.
When I execute it everything is working fine.
But when I change something in the code, the executing does not updating. like I wrote a function that set x value to 3.
then I execute it and get the correct value. then I change the code to x=7 but still the executing shows x=3 until I close the electron window and execute again.
for this I find this command:
npm install electron-reload
and this code:
const electron = require('electron')
// Enable live reload for all the files inside your project directory
require('electron-reload')(__dirname);
then according to the website I found this stuff- it's supposed to be great. but it's not. can you help me with it?

Sencha touch app remains on blue loading screen when viewing on Android device or emulator

I just created a basic sencha app by
sencha generate app --name AndroidDemo --path ../demo
and I viewed it in browser and everything is perfect.
I then followed the instructions here: http://www.sencha.com/blog/android-setup-for-sencha-touch/
and compiled the app with Sencha Cmd and when the emulator opens I only get a blue loading screen.
I also tried compiling/building the app with phonegap on phonegap build site and the build finishes successfully and after loading the app in my andoid device, again I only see the loading page and it stays on this page and the app does not launch.
I'm completely clueless. Need your help friends.
Thanks,
In your app code may be miner syntax error or other error so while app run in emulator check log cat or other option run or app in chrome and check console log. Because loading screen display in case of error as my expression with this.
i'm having the exact same problem..
(currently on windows, btw)
while it's not exactly a solution,
a workaround that i did (out of desperation to see the rest of my app on the emulator):
is to just install it directly to the emulator using the "adb" command.
haven't tried this on a mac, but i'm guessing it's almost the same thing?
after building the app using "sencha" cmd, open cmd/terminal to the build directory.
-assuming you did not change the output location, the apk will be created in your
project root folder under this folder:
"build\native-package-mobile\MYAPPNAME\packager.json\"
make sure the emulator is already running
run the following in command/terminal at the folder where the apk is located:
adb install -r MYAPPNAME.apk
wait for awhile and it should say successfully installed.
run the app in the emulator and hopefully it will go beyond the loading screen.
I don't know why this issue is happening though.
(only started tinkering with android dev/sencha yesterday and it seems to be doing all in it's power to prevent me from running my app. haha)
please share if you find the correct fix for this :)
This usually happens when you build your version and you did not imbed all needed components.
For example, when you use ...
Ext.Image
... in your code.
While running without ...
Sencha app build xxx
... Sencha will grab the component from the touch/src components folder.
But at the time you build the app, it cannot reference to that folder any longer and Sencha will stall.
Please open the console and look out for a warning like this:
[WARN][Anonymous] [Ext.Loader] Synchronously loading 'Ext.MessageBox';
consider adding 'Ext.MessageBox' explicitly as a require of the
corresponding class
You need to add these to the requires section of either App.js or a class where you use the item (here Ext.Messagebox).
Another way to find out what is happening is to run the build code inside the browser and look into the console (so instead of localhost/myapp/index.html you run localhost/myapp/build/{package}/{myapp}/index.html).
There is one other thing that might happen. It’s the scope of async operations.
Like this:
Ext.defer(function() {this.log(‘all good’);}, 500);
this is not the scope of your class.
You need to use:
Ext.defer(function() {this.log(‘all good’);}, 500, this);
Or you might even use ...
Ext.bind()
...to bind the scope to the function.

iPod4 (iOS6) shows wrong iPhone5 launch image

To my iPhones app's XCode project I have added the following launch images:
Default~iphone.png
Default~iphone#2x.png
Default~iphone-568h#2x.png
On the iPhone4, iPhone4s and iPhone5 the correct launch image is shown.
Also XCode's project summary tells me that every thing is ok with the launch images.
But if I launch the app on my iPod4 then the iPhone5 splash screen (Default~iphone-568h#2x.png) and not the iPhone4 screen (Default~iphone.png) is shown. There is iOS6 installed on my iPod.
Any idea, what's wrong here?
The files above have wrong names. They should be:
Default~iphone.png
Default#2x~iphone.png
Default-568h#2x~iphone.png
But giving the files the right names is not enough. You should:
Look into the info.plist file of your app, that there are the right launch images set
The wrongly named image Default~iphone-568h#2x.png can remain in the application bundle, even if you delete and reinstall the app. Thus it can be that the changes above have no effect.
To prevent this I had to delete my app, clean and recompile my XCode project and reboot my device. After that everything worked fine.

Resources