[英]using npx create-react-app my-app come up with an error
using npx create-react-app my-app but come up with an error. 使用npx create-react-app my-app但出现错误。
npm : 6.4.1 node : 11.3.0 how to fix this? npm:6.4.1节点:11.3.0怎么解决?
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Files\nodejs\node_cache\_npx\6612" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Program Files\nodejs\node_cache\_logs\2019-07-13T04_25_44_642Z-d
ebug.log
Install for create-react-app@latest failed with code 1
我找到了原因,当用户文件夹补丁包含空格时,在Windows上全局运行npx无效。请参阅此链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.