小编zan*_*zen的帖子

我无法使用npx create-react-app安装React?

我正在尝试使用npx创建反应应用程序,但出现以下错误:

npm ERR!解析'... eact-app /-// create-rea'附近时,Json输入意外结束

npm ERR!可以在以下位置找到该运行的完整日志:npm ERR!C:\ Users \ dp \ AppData \ Roaming \ npm-cache_logs \ 2018-12-06T18-42-56-293Z-debug.log

安装create-react-app @ latest失败,代码为1 **

错误的日志文件在这里...!

我如何摆脱这种麻烦?

0信息,如果以ok 1冗长cli ['C:\ Program Files \ nodejs \ node.exe'结尾,

1个详细的
cli'C:\ Users \ dp \ AppData \ Roaming \ npm \ node_modules \ npm \ bin \ npm-cli.js',

1个详细的cli'install',

1个详细的cli'create-react-app @ latest',

1个详细的cli'--global',

1个详细的cli'--prefix',

1个详细的
cli'C:\ Users \ dp \ AppData \ Roaming \ npm-cache \ _npx \ 3588',

1个详细的cli'--loglevel',

1个冗长的cli“错误”,

1详细cli'--json']

2信息使用npm@6.4.1

3使用node@v10.13.0的信息 …

npm reactjs create-react-app npx

1
推荐指数
5
解决办法
8523
查看次数

标签 统计

create-react-app ×1

npm ×1

npx ×1

reactjs ×1