Why does it show that the app has been completed, but it can't be started? The local startup can't start, and the browser can't start either. Help me, the great team

Hey, I see two separate issues in your screenshots:

  1. PowerShell SecurityError or UnauthorizedAccess

This is a Windows PowerShell execution policy setting that’s blocking script execution. It’s not a Cursor issue. Run this in PowerShell as Administrator:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

Then restart Cursor and try npm run dev:h5 again.

  1. Your Cursor installation appears to be corrupt. Please reinstall

That warning at the bottom is a known issue. To fix it:

  • Download the latest version from https://cursor.com and reinstall
  • If the warning still shows up after reinstalling, try running the installer as Administrator

Also, like the Agent said, if npm install fails with ECONNRESET, that’s a network issue on your machine. Try switching networks or using a VPN or proxy for npm:

npm config set registry https://registry.npmmirror.com

This switches npm to a mirror registry, which can help if you’re in China.

Let me know if it works after these steps.

1 Like

Thank you. I really appreciate the kind people.Now it’s up to others to get it done.I want to learn to work hard and study by myself. Thank you.