Mar*_*ilk 6 reactjs react-native
React Native Debugger自动加载到http:// localhost:8081 / debugger-ui /。
但是,我不断收到以下错误-
Cannot GET /debugger-ui/
小智 3
显然他们在代码中留下了一个错误。为了让它现在工作,您必须自己更改react-native-community 模块。
转到文件
/node_modules/react-native-community/cli/build/commands/server/middleware/MiddlewareManager.js
并且,在第 97 行
const debuggerUIFolder = _path().default.join(__dirname, '..', 'util', 'debugger-ui');
删除'util'参数,将其更改为
const debuggerUIFolder = _path().default.join(__dirname, '..', 'debugger-ui');
| 归档时间: |
|
| 查看次数: |
1392 次 |
| 最近记录: |