我正在制作新项目,但无法运行 Android 模拟器并出现此错误。
它位于“node_modules\react-native-reanimated\src\index.ts”,这只是其中的代码:
// tree-shaken side effects
import './reanimated2/js-reanimated/global';
// @ts-ignore backward compatibility with treeshaking
export * from './reanimated1';
export * from './reanimated2';
export * as default from './Animated';
Run Code Online (Sandbox Code Playgroud)
我不知道该怎么办,请帮忙。先感谢您!