Posts Tagged with Error fixing
How to upgrade npm in Laravel Sail ?
When I stop the vite live server sail npm run dev of Laravel 10 by ctrl + c, the CLI tells me to upgrade npm with this message.
npm notice npm notice New patch version of npm available! 9.6.4 -> 9.6.5 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.5 npm notice Run npm install -g npm@9.6.5 to update! npm notice Here is a screenshot of the npm upgrade notice.
Upgrade npm inside Laravel Sail Docker environment You can not just run npm install -g npm@9.
[fixed] Error: lulu: uninstall script /Applications/LuLu.app/Contents/Resources/LuLu Uni nstaller.app/Contents/MacOS/LuLu Uninstaller does not exist.
When I tried to upgrade LuLu the firewall with command brew upgrade lulu, I faced this error.
Error: lulu: uninstall script /Applications/LuLu.app/Contents/Resources/LuLu Uni nstaller.app/Contents/MacOS/LuLu Uninstaller does not exist. Then thought of trying to remove/uninstall lulu, then re-install it. So, I ran brew remove --cask lulu using homebrew package manager. But the same error occurred.
I thought maybe it did not upgrade as I did not use --cask in the first command.
Strict Secure Cookie policy does not allow setting a secure cookie for apps targeting >= R
After updating my app to compile with API level 30 (Android R, 11), I can’t see AdMob test ads, and I’m receiving this error in the log:
Strict Secure Cookie policy does not allow setting a secure cookie for http://googleads.g.doubleclick.net/ for apps targeting >= R. Please either use the ‘https:’ scheme for this URL or omit the ‘Secure’ directive in the cookie value.
I’m using the lastest AdMob version, and I don’t have “org.
[fixed] error duplicate class Kotlin Android
Here is a sample of error message.
Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.6.0 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0) Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.6.0 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0) Duplicate class kotlin.internal.jdk8.JDK8PlatformImplementations found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.6.0 (org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0) Duplicate class kotlin.io.path.ExperimentalPathApi found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.6.0 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0) Duplicate class kotlin.io.path.PathRelativizer found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.6.0 (org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.0) Duplicate class kotlin.io.path.PathsKt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk7-1.
Flutter Gradle task assembleDebug failed with exit code 1 zip END header not found
The error code is this.
exception in thread "main" java.util.zip.ZipException: zip END header not found at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1567) at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1462) at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1469) at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1274) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237) at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:727) at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844) at java.base/java.util.zip.ZipFile.(ZipFile.java:247) at java.base/java.util.zip.ZipFile.(ZipFile.java:177) at java.base/java.util.zip.ZipFile.(ZipFile.java:191) at org.gradle.wrapper.Install.unzip(Install.java:214) at org.gradle.wrapper.Install.access$600(Install.java:27) at org.gradle.wrapper.Install$1.call(Install.java:74) at org.gradle.wrapper.Install$1.call(Install.java:48) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) at org.gradle.wrapper.Install.createDist(Install.java:48) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) Exception: Gradle task assembleDebug failed with exit code 1 This Problem came from gradle file is corrupted in your system.
[fixed] Android studio Error "Unsupported Modules Detected: Compilation is not supported for following modules"
Method 1 : Try Invalidating Android Studio Cache Just go File -> Invalidate Cache & Restart. So, Android Studio will remove cache and rebuild it and the project itself. If this solves the error, good for you. If not, try the next step.
Method 2 : Remove Unused Modules Click Command+Shift+F, type modules.xml, open the file, remove the modules that cause the error.
If the error persists, try the 3rd method.
ssh Handshake Failed Unable to Authenticate | Github Actions
I have set up the github action to deploy laravel website using appleboy ssh-action but all actions failed with this weird error message.
2022/09/03 23:46:24 ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain The fix is simple. just change the permission of authorized-keys by this command.
chmod 700 ~/.ssh/authorized_keys If it works, share it with a friend or colleage.
Photoshop CC Missing Ctrl + Alt + M shortcut? - [Fixed]
The shortcut Ctrl + M is to edit curves in Adobe Photoshop. If you click Ctrl + Alt + M, the previously used curve will be shown. But on some laptop / PC computers, Ctrl + Alt + M shortcut seems NOT WORKING.
NVidia GeForce graphics card capture that shortcut, so Photoshop doesn’t see the shortcut at all. The way to fix this issue is to remove the shortcut Ctrl + Alt + M from graphics card experience settings.
[Solved] Disk Utility Stuck on Wait Partition Activate
Fix corrupted exFAT disk macOS/OSX exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.
Disk Utility is unable to repair this at first, but the fix is this:
Use diskutil list to find the right drive id. You want the id under the IDENTIFIER column, it should look like disk1s1 Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3 -d is debug so you’ll see all your files output as they’re processed.
The Chosen Size Is Not Valid for the Chosen File System 69850
Restore a bootable USB flash drive to normal on MacOS If you are trying to format a USB disk on Mac OS Mojave or newer and get the below error.
The chosen size is not valid for the chosen file system.
Go to Terminal and first check the USB device path
$ diskutil list /dev/disk0 (internal): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme 500.3 GB disk0 1: EFI EFI 314.6 MB disk0s1 2: Apple_APFS Container disk1 500.