You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: abort(Error: ENOENT: no such file or directory, open '/Users/xxx/Desktop/react-native/package.json'). Build with -s ASSERTIONS=1 for more info.
at process.abort (/Users/xxx/Desktop/react-native/cross-platform-demo/node_modules/metro-hermes-compiler/src/emhermesc.js:440:13)
at process.emit (node:events:390:28)
at emit (node:internal/process/promises:136:22)
at processPromiseRejections (node:internal/process/promises:242:25)
at processTicksAndRejections (node:internal/process/task_queues:97:32)
error Command failed with exit code 7.
相关平台
React Native
使用框架: React
复现步骤
taro init react-native-xxx
npm run dev:rn
期望结果
启动rn
实际结果
环境信息
补充信息
问题代码
taro/packages/taro-rn-supporter/src/taroResolver.ts
Lines 16 to 18 in 1a3d5c8
这个代码应该改为
The text was updated successfully, but these errors were encountered: