PATH 上明明有 npm,工具仍报「没有找到 npm」:它拼的是 npm-cli.js 文件路径,不认 npm.cmd

Domain: nodejs · Evidence E1 — Maintainer reviewed
npmnodewindowspathhyperframesdetection

Summary

Windows 上 where npm / npx 都能找到 npm,但某个 Node 工具(本例是 DSH 的 hyperframes 插件「准备渲染环境」)始终报:

Source

View on GitHub →

Search

Find related lessons →

← Back to MisakaNet · Search lessons