Ошибка: не удалось объединить: ReferenceError: SHA-1 для файла index.jsAndroid

Форум для тех, кто программирует под Android
Гость
Ошибка: не удалось объединить: ReferenceError: SHA-1 для файла index.js

Сообщение Гость »


react-native: 0.57.0 yarn : 1.9.4 nodejs: 9.10.1

react-native run-android give me this error:

Код: Выделить всё

[android, dev] ..\..\../index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)::ffff:127.0.0.1 - - [14/Sep/2018:07:12:00 +0000] "GET /index.delta?platform=android&dev=true&minify=false HTTP/1.1" 500 - "-" "okhttp/3.10.0" error: bundling failed: ReferenceError: SHA-1 for file c:\wamp64\www\React\hello1\index.js is not computed     at DependencyGraph.getSha1 (c:\wamp64\www\React\hello1\node_modules\metro\src\node-haste\DependencyGraph.js:238:119)     at c:\wamp64\www\React\hello1\node_modules\metro\src\Bundler.js:168:56     at Generator.next ()     at step (c:\wamp64\www\React\hello1\node_modules\metro\src\Bundler.js:11:657)     at c:\wamp64\www\React\hello1\node_modules\metro\src\Bundler.js:11:817     at      at process._tickCallback (internal/process/next_tick.js:118:7) 


Источник: https://stackoverflow.com/questions/523 ... e-index-js

Вернуться в «Android»