Author: devonenote

  • Resolve Vercel deploy Error: Found invalid Node.js Version: “>=20.9.0”.

    If you’re deploying an application on Vercel and encounter the following error: Error: Found invalid Node.js Version: “>=20.9.0”. Please set “engines”: { “node”: “18.x” } in your package.json file to use Node.js 18. There’s no need to downgrade your application to Node.js 18. Here’s how you can fix the issue without downgrading: Your new deployment should successfully…

  • Solving the Angular Update Error: Conflicting peer dependency

    If you’re struggling to update your Angular version and encounter the following error when executing the command ‘npm install upgrade angular’: npm ERR! Conflicting peer dependency: @angular/compiler@15.2.9npm ERR! node_modules/@angular/compilernpm ERR! peer @angular/compiler@”15.2.9″ from @angular/localize@15.2.9npm ERR! node_modules/@angular/localizenpm ERR! peerOptional @angular/localize@”^15.0.0″ from @angular-devkit/build-angular@15.2.9npm ERR! node_modules/@angular-devkit/build-angularnpm ERR! dev @angular-devkit/build-angular@”^15.2.9″ from the root projectnpm ERR!npm ERR! Fix the upstream…

  • Fix [Errno 8] Exec format error: ‘/Users//.azure/bin/bicep’

    When you run az bicep command on Mac M1, you might experience error This error is because for some reason, bicep in azure cli was installed with a non-ARM version, to resolve this, do following steps Remove /Users/<username>/.azure/bin/bicep Run az bicep version, this will force Azure CLI to download bicep and refresh. If you see…

  • oh-my-zsh slow on WSL2 git directory

    You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled. This can be resolved by running following command

  • git clone error “Operation not permitted” on WSL2 Shell

    On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell. To resolve this, simple run following commands: You might need to replace the drive letter if you hit error on other drivers.

  • How do I know if my current Windows 10 PC meets the minimum hardware requirements for Windows 11?

    If you’d like to see if your current PC meets the minimum system requirements, you can download the PC Health Check app (PC Health Check ​​​​​​​). Most Windows 10 PCs currently being sold will be able to upgrade to Windows 11. For the PC to be able to upgrade to Windows 11, it must meet the…

  • Change password from a computer in RDP session

    If you want to change password from a computer running windows server in RDP session, you will find Ctrl-Alt-End does not work as its always caught by current session. Follow these steps to change password in RDP session Press Ctrl-Alt-End Select Change Password Input current and new password and press enter

  • Enable Flash Player for Windows Server 2016

    Flash player is included in Windows Server 2016 but not actived for IE by default due to security concerns. You can enable flash player for IE in Windows Server 2016 by following steps Open a command line windows and run following command dism /online /add-package /packagepath:”C:\Windows\servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum” Reboot, after reboot open adobe flash player official test…

  • Change the default PDF Viewer in Windows 10

    ​When Microsoft Edge is set as your default browser, your PDF viewer will also default to Microsoft Edge. If you would like to change the default application associated with a file type, follow these steps: Go to Settings > System > Default apps Scroll to the end of the dialog Select “Choose default apps by…

  • Clean up Hidden $Windows~BT and $Windows~WS in Windows 10

    After upgrading to Windows 10, you might notice two hidden folder $Windows~BT和$Windows~WS consumes more than 10GB spaces of C drive. These two folders are created for Windows 10 upgrade and can be safely removed after successful upgrade. However, if you run build in Disk Cleanup tool on Windows 10, it only cleans up Windows.old folder,…