1

我创建了一个新的应用程序npx react-native init。安装完成,我可以使用 npx 运行我的应用程序,但是在安装过程中它给了我这个错误:

⠋ Downloading templateerror Cannot parse yarn version: 0.32
⠴ Downloading templateerror Cannot parse yarn version: 0.32
✔ Downloading template
✔ Copying template
✔ Processing template
⠋ Installing dependencieserror Cannot parse yarn version: 0.32
✔ Installing dependencies

同样,如果我运行任何类似的纱线命令yarn start,它不会识别它:

00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'start'

写入yarn --version返回 0.32。

4

0 回答 0