我有这个错误("找不到变量:React")在我的零食博览会https://snack.expo.dev/@priami副驾驶员
尝试v3,但不工作!帮我
添加
import React from 'react';
或
import * as React from 'react';
放在index.js文件的顶部或者读取缺少
的错误信息node_modulesreact-native-copilotdistindex.js
因为你还没有安装react。
npm i react