independent full stack developer

/ Developer's blog

How to Solve the "Python was not found; run without arguments to install from the Microsoft Store" Error in Windows

Saturday, December 21, 2024

Python is a versatile and widely-used programming language that is popular for its readability, simplicity, and vast ecosystem of libraries and frameworks. However, Windows users might sometimes face an error that prevents them from running Python scripts or accessing the Python interpreter from the command line. The error message usually reads: "Python was not found; run without arguments to install from the Microsoft Store." This can be frustrating for developers who require Python for their projects.

The good news is that there's a relatively simple solution to this issue, which involves managing app execution aliases in the Windows settings. If you're encountering this error, follow the step-by-step instructions below to resolve it and get Python up and running on your system.

Step 1: Access the Start Menu
- Click on the Start button located at the bottom left corner of your screen, or press the Windows key on your keyboard.

read more Like the other 2970 people already did

Problem binding to port 80: Could not bind to IPv4 or IPv6.

Saturday, December 21, 2024
read more Like the other 487 people already did

How to fix [prerender-spa-plugin] Unable to prerender all routes

Saturday, December 21, 2024

How I fixed the prerender error with  [prerender-spa-plugin], it worked yesterday but today not, just try to add a param to your webpack maxConcurrent ...

Hey, if you work with vue-cli and prerender your apps with prerender-spa-plugin, and it worked yesterday, but it doesn't work today - and you got the message Unable to prerender all routes

read more Like the other 5108 people already did

How to fix Laravel 5.8 artisan command Failed to clear cache. Make sure you have the appropriate permissions

Saturday, December 21, 2024

I just deployed a new system on production, opened a browser and see the error about permissions for my Laravel logs and do on, I checked the default paths, vhosts, config...but nothing happens. Then I think that clearing Laravel config cache with the command is a good idea.

php artisan config:clear

But I got the error

Failed to clear cache. Make sure you have the appropriate permissions.

read more Like the other 8921 people already did

Problem rendering component row in table with Vuejs

Saturday, December 21, 2024

You created a vuejs component that contains a table row, inserted it to tbody and noticed that it appear about the table? Yeah,  me too, there is my solution.

If you experience something like that, means that you did something wrong :) Please check the docs firstly (Vuejs Docs) about that, and if you can't find the solution, back to me and check my solution.

read more Like the other 2390 people already did

If class not found, or file not exists on Laravel

Saturday, December 21, 2024
read more Like the other 2032 people already did

How to add SSL certificate to nginx for FREE

Saturday, December 21, 2024

Firstly we have to issue certificates, I use this service to get it done. https://www.sslforfree.com you just enter a domain name for which you need a certificate and then download the archive with certificates. The next step is compiling contents to one bundle.crt and tweak a host for nginx.

read more Like the other 2177 people already did

How to fix CORS issues with Chrome localhost Laravel REST API

Saturday, December 21, 2024

Hey, there are a couple issues if you're working on SPA or simple project where you need to get data from the backend in your JS code, but there is an issue when you try to test it. You can experience the issue with CORS 

Origin http://localhost is not allowed by Access-Control-Allow-Origin

If you work with Laravel as a backend and have a REST API - you're welcome, I will show you the simple way how to fix it for localhost test case.

read more Like the other 4279 people already did