You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows11执行npx命令报错"This: command not found"求助

Windows 11下执行任意npx命令均报错问题

在Windows 11系统中执行任意npx命令时均会报错:
C:\Users\JOEL MATHEW\node_modules\.bin/../node/bin/node: line 1: This: command not found
该问题已困扰我许久,以下是我的环境版本信息及测试命令输出:

环境版本与测试输出

$ npx -v
9.5.0
 
$ npm -v
9.5.0

$ node -v
v18.14.2

$ npx create-react-app test
C:\Users\JOEL MATHEW\node_modules\.bin/../node/bin/node: line 1: This: command not found

执行create-react-app后的报错截图

内容的提问来源于stack exchange,提问作者Joel Mathew

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.29 21:12:40