我正在尝试使用nodejs提示符打开我的expo项目,但我一直收到以下错误:
C:\Users\Regis\ProjetoFerias>expo start
Starting project at C:\Users\Regis\ProjetoFerias
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser... (press shift-d to disable)
Could not get status from Metro bundler. connect ECONNRE
我遵循medium的文章:React Native 0.63 Monorepo walkthrough小心地使用react-native获得纱线工作区。一切正常,我可以构建我的iOS和安卓应用程序,也可以构建Metro Bundler,但当我使用yarn workspace mobile ios构建我的iOS应用程序时,metro bundler会给我以下警告 RCTBridge required dispatch_sync to load RCTDevLoadingView. This may lead to deadlocks 除非我在yarn工作区中使用react-native,否则我
我试着用模块给我的应用添加推送通知。我最终得到了许多错误,并在节点上运行了许多react命令,包括uprade命令。现在在模拟器的红色屏幕上显示"Can not find entry file index.js in any of to root“,当我查看ReactPackager时,它显示:
Loading dependency graph, done. Bundlingindex.js[development, non-minified] 0.0% (0/1), failed. error: bundling failed: Error at DependencyGraph._g
我的代码编译得很好,但当它到达metro bundler加载js包时,它给出了这个错误我尝试了许多解决方案: TCP反转,更改调试IP,手动包生成器命令不走运。
获取此错误:
Unable to load script. Make sure you re either running a metro server or that your bundle index.android.bundle is packaged correctly for release
我使用Windows 10创建了一个,它在Android上运行得很好。
我将文件复制到我的iMac中并在iOS平台上运行该项目,但是当我试图在iOS中运行该项目时,我得到了以下错误:
error: bundling failed: Error: Unable to resolve module `axios` from `/Users/fabio/react/VirtusVSTS/src/components/Login.js`: Module does not exist in the module map
This might be related to https://github.c
我刚刚开始使用ReactJs的RN,我一直在尝试运行一个React-Native项目,但是当我输入react-native start时,Metro bundler会停在这一行:Loading dependency graph, done。 我可以注意到这是不正确的,因为它没有加载我的代码更改,并且在我重新加载仿真器后,它给出了错误"cannot connect to the development server"。 我做了一些研究,它还应该告诉我它捆绑了一个特定的文件,如下所示: BUNDLE [android, dev] ./index.js current Metro
我使用的是Windows10版本10.0.16299 Build 16299。我使用的是Powershell。我只是使用yarn global add expo-cli安装,然后运行expo init my-app,然后运行cd my-app和expo start,但是构建失败了。以下是错误图像和文本:
[23:11:49] Starting project at C:\projects\my-app
[23:11:58] Starting Metro Bundler on port 19001.
[23:11:58] Metro Bundler ready.
[23:12:00]
我正在开发一个react原生应用程序,我使用firebase,我最近更新了expo,当我使用这个命令expo start时,一切都正常,但我在日志中得到了这条消息:
Some of your project's dependencies are not compatible with currently installed expo package version:
- firebase - expected version range: 7.9.0 - actual version installed: ^8.2.0 Your project may not work correc
我正试图使与最新的依赖关系版本一起工作。
我用我的尝试创建了一个回购程序:
我希望能够使用react原生0.59,但是当我尝试时,我得到了并被要求升级gradle版本。
升级之后,我就可以构建这个项目了,但是我可以用我的手机:
Unable to load script. Make sure you're either running a metro server...
当然,我没有错误地运行服务器:Running Metro Bundler on port 8081. Edit: (服务器用react-native run-android自动启动,但为了确保使用yarn start重
我正在尝试用React Native开发一个新项目。但我对React Native知之甚少。我做的所有设置都是正确的。但我不能从仿真器构建。你能帮我吗?我得到如下错误: The development server returned response error code: 500 网址:http://10.0.2.2:8081/index.delta?platform=android&dev=true&minify=false Body:{"originModulePath":"C:\Users\cenkd\Desktop\reactprojem\n
我刚刚在Manjaro上用react-native init创建了一个项目,并使用Android打开了它。然后,我在一个终端上运行react-native start,然后在一个现有的模拟器上运行该应用程序,该模拟器打开一个红色屏幕,声明:
The development server returned response error code: 500
Metro Bundler has encountered an internal error, please check your terminal error output for more details
在我的终端窗口上,它给了我以下错
我有问题,启动世博后,升级到34版世博SDK。
error: unknown option `--assetPlugins'
Metro Bundler process exited with code 1 Error: Metro Bundler process exited with code 1
版本:
博览会-cli: 3.0.10
反应本机:
sdkVersion世博会: 34.0.0
我删除了节点模块并多次重置缓存,但没有成功。我确信在app.json和package.json中有正确的版本
有什么想法吗?谢谢。
我今天更新了node,我得到了这个错误: error: TypeError: Cannot read properties of undefined (reading 'transformFile')
at Bundler.transformFile (/Users/.../node_modules/metro/src/Bundler.js:48:30)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues
如何修复代码为%1的Metro Bundler进程退出代码为%1的Metro 'Bundler‘进程
Error: Metro 'Bundler' process exited with code 1
at 'ChildProcess' .<anonymous> (C:\@expo\xdl@56.6.0\'src'\Project.ts:1841:16)
at Object.onceWrapper (events.js:300:26)
at ChildProcess.emit (events.js:2
expo start运行良好,但在尝试使用expo build:ios构建ios独立应用程序后,expo start失败,并显示错误消息:
Expo DevTools is running at http://localhost:19002
Opening DevTools in the browser... (press shift-d to disable)
error Unrecognized command "start".
info Run "react-native --help" to see a list of all available co
我想用原生代码在React Native中建立项目,但有一个问题。
我在上使用了官方文档,但是在react-native run-android之后,我得到了一个错误
你能帮帮我吗?
The development server returned response error code: 500
URL: http://10.0.2.2:8081/index.delta?platform=android&dev=true&minify=false
Body:
{"originModulePath":"D:\\Develop_Drafts\\proj
错误
loading dependency graph, done.
error: bundling failed: Error: Unable to resolve module `tty` from `/MyWorks/rnTestTrials/myCurrencySample/node_modules/window-size/index.js`: Module does not exist in the module map
This might be related to https://github.com/facebook/react-native
浏览器控制台错误:
捆绑index.android.js发展,非小型化,hmr致残率99.3% (1074/1078),失败.错误:变压器工作人员中的未明错误: /home/manish/donut/node_modules/metro-bundler/src/transformer.js at _transform.then.catch.error (/home/manish/donut/node_modules/metro-bundler/src/JSTransformer/index.js:172:31) at process._tickCallback ( in /process/