错误:jest-haste-map:哈希模块命名冲突

时间:2019-01-27 14:53:25

标签: react-native

重复的模块名称:react-native。此错误是由hasteImpl为不同文件返回相同名称引起的。
我无法自行解决,需要帮助。

at setModule (C:\Users\abc\loginapp\node_modules\metro\node_modules\jest-haste-map\build\index.js:569:17)  
    at workerReply (C:\Users\abc\loginapp\node_modules\metro\node_modules\jest-haste-map\build\index.js:641:9)  
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:17804) 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(). (rejection id: 3)  

0 个答案:

没有答案