【发布时间】:2021-03-09 01:41:21
【问题描述】:
节点版本 v14.15.0 npm 版本 6.14.8
这是错误
$ npx react-native init Sjp
npm ERR! code ENOLOCAL
npm ERR! Could not install from "Ri\AppData\Roaming\npm-cache\_npx\19852" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Mi HI Ri\AppData\Roaming\npm-cache\_logs\2020-11-26T07_12_41_451Z-debug.log
Install for [ 'react-native@latest' ] failed with code 1
【问题讨论】:
标签: react-native npm npx