完成后shoutem run-ios
,应用程序构建良好并加载启动页面。进入主屏幕后,我会收到带有以下消息的红色错误屏幕:
console.error:“未处理的承诺拒绝”
在日志中,我看到以下错误:
下一个(/Users/njdeveloper/.shoutem/platforms/build/node_modules/connect/lib/proto) .js:174:15) 在 Object.compression [作为句柄] (/Users/njdeveloper/.shoutem/platforms/build/node_modules/compression/index.js:205:5) 在下一个 (/Users/njdeveloper/.shoutem /platforms/build/node_modules/connect/lib/proto.js:174:15) 在 IncomingMessage。(/Users/njdeveloper/.shoutem/platforms/build/node_modules/react-native/local-cli/server/middleware/loadRawBodyMiddleware.js:20:5)5) 在 IncomingMessage 的下一个 (/Users/njdeveloper/.shoutem/platforms/build/node_modules/connect/lib/proto.js:174:15)。(/Users/njdeveloper/.shoutem/platforms/build/node_modules/react-native/local-cli/server/middleware/loadRawBodyMiddleware.js:20:5)5) 在 IncomingMessage 的下一个 (/Users/njdeveloper/.shoutem/platforms/build/node_modules/connect/lib/proto.js:174:15)。(/Users/njdeveloper/.shoutem/platforms/build/node_modules/react-native/local-cli/server/middleware/loadRawBodyMiddleware.js:20:5)