Skip to content

npm.cmd force closes immediately and i can't proceed #65252

Description

@QuestioningEspecialy

Version

24.19.0.0

Platform

Microsoft Windows NT 10.0.19045.0 x64

Subsystem

No response

What steps will reproduce the bug?

  1. node -v in node.exe produces Uncaught ReferenceError: node is not defined in node.exe
  2. 'npm.cmd' immediately closes and, when the monitor is recorded in OBS Studio, causes the entire screen to be blank/black
  3. using ShareX to screenshot the active monitor or just the region consistently shows "C:\Windows\system32\cmd.exe" for the application name (top bar) before switching to just "npm" and the usual "_" in the top left corner of the area typed text would be.
  4. the gulp.cmd(?) used force close too, but now no longer exists after a System Restore to immediately after running the 'node-v24.19.0-x64.msi' and auto-installing the dependencies after
  5. i realized that running 'install_tools.bat' a second time is most likely what caused both problems after testing it shortly after the 1st system restoration, but~ it stopped working again after restoring for the 2nd time
  6. for the record, i ran npm install --global gulp in Windows PowerShell iirc. running it in node.exe at this point produces "npm should be run outside of the Node.js REPL, in your normal shell."

i just want to finally start using Raconteur, but here we bloody are

How often does it reproduce? Is there a required condition?

consistently (see above)

What is the expected behavior? Why is that the expected behavior?

i expect both exe's to stay open like they used to

What do you see instead?

both exe's close a second after launching

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions