rm -rf ios/build/; kill $(lsof -t -i:8081); react-native run-ios
Я не уверен, что это сделало, но у меня такое ощущение, что именно это и привело к ошибке повреждения. Не удалось подключиться к серверу разработки
, также не получая URL-адрес пакета в виде ошибки
jest-haste-map: Haste module naming collision: functions
The following files share their name; please adjust your hasteImpl:
* <rootDir>/functions/package.json
* <rootDir>/src/config/functions/package.json
ERROR
23:06
Failed to construct transformer: DuplicateError: Duplicated files or mocks. Please check the console for more info
at setModule (/Users/arichayo/Documents/mitzvahCenterIos/node_modules/jest-haste-map/build/index.js:620:17)
at workerReply (/Users/arichayo/Documents/mitzvahCenterIos/node_modules/jest-haste-map/build/index.js:691:9)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Promise.all (index 177) {
mockPath1: 'functions/package.json',
mockPath2: 'src/config/functions/package.json'
}
ERROR
23:06
(node:642) UnhandledPromiseRejectionWarning: Error: Duplicated files or mocks. Please check the console for more info
at setModule (/Users/arichayo/Documents/mitzvahCenterIos/node_modules/jest-haste-map/build/index.js:620:17)
at workerReply (/Users/arichayo/Documents/mitzvahCenterIos/node_modules/jest-haste-map/build/index.js:691:9)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Promise.all (index 177)
(node:642) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:642) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
i got this error in expo chrome cli