Subject: Help with npm install and EUNSUPPORTEDPROTOCOL error
Hello community,
I’m trying to set up my environment for the openmrs-esm-patient-chart project. I’ve followed the setup guide, but I’m running into a persistent error that I can’t solve.
Problem: When I run npm install --legacy-peer-deps, I get the following error:
npm error code EUNSUPPORTEDPROTOCOL Unsupported URL Type “workspace:”: workspace:*
What I’ve Tried:
-
I have uninstalled and reinstalled Node.js.
-
I have updated Node.js to the latest LTS version.
-
I have updated npm to the latest version.
-
I have closed and reopened my terminal.
My Environment:
-
Node.js version: v22.18.0
-
npm version: 11.5.2
-
Operating System: Windows 11
Could someone please help me figure out what’s causing this error? Any guidance would be greatly appreciated.
Thank you!