Creat react app is not installing in windows 10 - create-react-app

I had installed the create-react-app with no build configuration in my windows10 Pc got this error. I try in administrator role also I got this same error
if any one knows please tell me how to resolve

Run with antivirus disabled (if you use Windows Defender, turn off Real-Time protection and Cloud-based protection).It worked for me!
Hope it Helps!!!

Try with yarn or lower npm version.
https://yarnpkg.com/lang/en/docs/cli/create/
Hope issue will be fixed.

Related

After I upgraded to macOS Ventura (13.0) nextjs and any npx command stuck

After I upgraded to macOS 13. I found a problem with command in nextjs first. I tried to run my project with: npm run dev
This is result:
> dev
> next dev
It stucked on this log very very long time.
and I tried to create another project using:
npx create-next-app#latest
Result same to nextjs
About my computer:
Macbook pro 2018 13-inch 4 ports
I used Oh My Zsh on terminal
my node.js version is 16.18.0 (16.9.1 on this question created)
UPDATED 27/10/22
After I asked in this community. I tried many way to solve this issues.
This is way I tried:
Reinstall macOS Ventura and not working
Change node.js version to 16.18.0 => 19.0.0 and downgraded to 16.18.0 and not working
And now this problem is still. I still can't resolve this problem :(
I also had the same problem when I tried to run the nestjs application. Also failed to install packages, I got this error every time
It turned out that this could be a problem related to the IPv6 configuration. I disabled this setting and everything started working fine
Maybe it will also help you.
UPDATES
You can find this settings
Updated 28/10/2022 This problem I can resolved!!!!!
Today, I tried to clean install macOS Ventura (by backup internal storage => erase internal storage => install macOS Ventura by bootable drive and recovery data from backup hard disk)
All commands worked normally!
If you found a problem like this, you can resolve by clean install macOS!

Pestphp fails to run tests

I just installed the version 1.21 of pestphp/pest for a small php library.
Installations works until I try running ./vendor/bin/pest
I keep getting this error: Exclusive locks are not supported for this stream
Research on this error has proven unsuccessful as I could not find a similar case.
Please let me know if you've experienced this before and how you fixed it.
Thanks!
I have figured out the issue.
I was running the application from the htdocs of the vm version of xampp running on my laptop.
Taking the project out of here into another directory solved this issue.
Hope this saves someone else some time.

An unexpected error occurred: "EPERM: operation not permitted in Yarn

I am having problems installing new npm packages with Yarn. Every time I go on to add a new package it's throwing me this error. But when I delete my node_modules folder and run Yarn, everything works fine. Again when I try to add another package, it throws me the same error. Any solutions, I am having a headache right now.
In Windows first stop the development server and then try to install package.
I had same problem, I went into the Task Manager (CTRL+SHIFT+ESC) and killed all the NodeJs processes.
Press "Ctrl+C" to stop the server and repeat the installation.
if you're using visual studio code, cmd, or Windows Terminal, close it and run it in administrator mode. Usually, the reason for that error message is a result of limited privilege giving to the editor or npm or Yarn if you're using that.
This is likely due to you creating your project within the windows /mnt directory structure
Rerun inside the ~/home folder
(accessible within windows # //wsl$/
did you try to open CDM as run as administrator or if with wsl terminal try to use sudo like sudo yarn
The package I was trying to install before haveing this issue was yup. So resulted to
yarn add yup --legacy-peer-deps
which worked.
Sometimes when this occurs, you may first try to uncheck node_modules folder to read only.
If it is not working try to stop the running server and install your packages and then restart the server.
Terminate or stop the server ( close and reopen Vscode) and try agin. this will work for me !!
Restarting the system which causes stopping all the processes by Node, VScode, ... solved the problem.

How to fix "spawn UNKNOWN" Error in Electron?

I built an Electron app on 64-bit windows machine and it runs well on other machines.
But today, I ran it on my 32-bit atom processor windows machine and I got the following error message.
I tried npm update but it doesn't work too.
the error message is,
How can I fix it? : (
Thank you for reading my question.
You don't have access rights. Try running as an administrator or change permissions.
Also you may try checking, if antivirus has blocked this process.

XAMPP Server Installation issues

I have attached a screenshot!
I am unable to figure out why this error is coming!
I uninstalled previous version and I am trying to install newer version but this error is coming:
Please tell me how to solve this!
Deactivate UAC from control panel and then try to intall XAMPP.
You can disable the User Account Control.
http://www.mydigitallife.info/how-to-disable-and-turn-off-uac-in-windows-7/
Restart and install xampp.