How to enable jest-hashe-map module in response mode?

Error: Cannot find module 'jest-haste-map'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (D:/Reat Native demo/kindbase-foodli-app-935bb0d21eae/

node_modules / react native / packer / react-packer / src / node -haste / index.js: 19:22)

I am creating a new project. But I ran run-android with reaction support, did you have a problem?

+4
source share
1 answer

Try to remove the "react" from the folder node_moduleusing the command

npm uninstall react-native

and then reinstall this module using the command

npm install react-native

And run the application.

+12
source

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


All Articles