Months ago, on my home PC I installed nodejs, react, etc., and got various tutorial sample projects working. Now I’m remoting to my up-to-date Windows 10 work PC to install everything.
I’ve done the setup steps from the Traversy Media React Crash Course tutorial (5 stars), also just now, to double-check, watched the 1-minute video and reviewed the simple instructions at https://www.techomoro.com/how-to-install-and-setup-a-react-app-on-windows-10/ .
So I’ve installed nodejs from https://nodejs.org/en and downloaded react-0.14.3.zip (but there’s not an .msi installer, just a build folder and an examples folder… am I forgetting or missing something?)
Installed create-react-app globally: PS C:\users\molin\dev\myapp> npm install -g create-react-app …which spewed out… C:\Users\molin\AppData\Roaming\npm\create-react-app -> C:\Users\molin\AppData\Roaming\npm\node_modules\create-react-app\index.js [+ sign] [email protected] updated 1 package in 7.639s
When I’m a level above the myapp folder and do either of these: npx create-react-app . npx create-react-app myapp …or if I’m in the myapp folder and do either of these: npx create-react-app myapp npx create-react-app .
… I get the error: Command failed: create-react-app spawn EPERM
Per a suggestion on a board, I ran this and retried, but no joy. npm cache clean --force I even rebooted and tried again.
No events show on the Window Event viewer. Is this a permissions error on my work PC?
Thank you for any advice!