Skip to content

error code ECOMPROMISED - npm error Lock compromised #893

@eliassal

Description

@eliassal

Inspector Version

Trying to install for 1st time

Image

Describe the bug
Run
npx @modelcontextprotocol/inspector
To Reproduce
Steps to reproduce the behavior:

Run npx @modelcontextprotocol/inspector
Expected behavior
Inspector should be launched

Screenshots

Image

Environment (please complete the following information):

  • OS: win 10 64bit
  • Browser Edge

Here is the log for npm-cache_logs\2025-10-29T11_18_21_143Z-debug-0.log

1386 verbose stack Error: Lock compromised
1386 verbose stack at AbortSignal. (.......AppData\Roaming\nvm\v25.0.0\node_modules\npm\node_modules\libnpmexec\lib\with-lock.js:52:30)
1386 verbose stack at [nodejs.internal.kHybridDispatch] (node:internal/event_target:845:20)
1386 verbose stack at AbortSignal.dispatchEvent (node:internal/event_target:778:26)
1386 verbose stack at runAbort (node:internal/abort_controller:488:10)
1386 verbose stack at abortSignal (node:internal/abort_controller:459:3)
1386 verbose stack at AbortController.abort (node:internal/abort_controller:507:5)
1386 verbose stack at Timeout.touchLock (........\AppData\Roaming\nvm\v25.0.0\node_modules\npm\node_modules\libnpmexec\lib\with-lock.js:161:18)
1387 error code ECOMPROMISED
1388 error Lock compromised
1389 silly unfinished npm timer reify 1761736705161
1390 silly unfinished npm timer reify:createSparse 1761736707714
1391 verbose cwd C:\Projects\WindowsScripts\PS\Scripts
1392 verbose os Windows_NT 10.0.19045
1393 verbose node v25.0.0
1394 verbose npm v11.6.2
1395 verbose exit 1
1396 verbose code 1
1397 error A complete log of this run can be found in: C:\Users\salam.SALAM\AppData\Local\npm-cache_logs\2025-10-29T11_18_21_143Z-debug-0.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting on submitterWaiting for the submitter to provide more info

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions