Error starting clean responsive project

Metro Bundler is ready.

Download the dependency graph done.

error: connection failure: Error: invalid value for dynamic failures behavior: null

 at getDynamicDepsBehavior (C:\Projects\react-native\test\node_modules\metro\src\JSTransformer\worker\index.js:185:13) at postTransform (C:\Projects\react-native\test\node_modules\metro\src\JSTransformer\worker\index.js:131:26) at Object.transformCode [as transform] (C:\Projects\react-native\test\node_modules\metro\src\JSTransformer\worker\index.js:251:17) at execMethod (C:\Projects\react-native\test\node_modules\jest-worker\build\child.js:92:29) at process.on (C:\Projects\react-native\test\node_modules\jest-worker\build\child.js:42:7) at process.emit (events.js:160:13) at emit (internal/child_process.js:790:12) 

BUNDLE [android, dev] ./ index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1) failed.

+5
source share
1 answer

Sounds like a bad subway version: https://github.com/facebook/metro/issues/126

I tried a new installation, and now everything works. Just run "npm install metro" to upgrade to a version with hotfixed (0.24.6) you should also do the trick.

+6
source

Source: https://habr.com/ru/post/1274820/


All Articles