{"action":"created","issue":{"url":"https://api.github.com/repos/status-im/react-native-desktop/issues/357","repository_url":"https://api.github.com/repos/status-im/react-native-desktop","labels_url":"https://api.github.com/repos/status-im/react-native-desktop/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/status-im/react-native-desktop/issues/357/comments","events_url":"https://api.github.com/repos/status-im/react-native-desktop/issues/357/events","html_url":"https://github.com/status-im/react-native-desktop/issues/357","id":366295497,"node_id":"MDU6SXNzdWUzNjYyOTU0OTc=","number":357,"title":"Duplicate module name renderApplication","user":{"login":"tonn","id":166351,"node_id":"MDQ6VXNlcjE2NjM1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/166351?v=4","gravatar_id":"","url":"https://api.github.com/users/tonn","html_url":"https://github.com/tonn","followers_url":"https://api.github.com/users/tonn/followers","following_url":"https://api.github.com/users/tonn/following{/other_user}","gists_url":"https://api.github.com/users/tonn/gists{/gist_id}","starred_url":"https://api.github.com/users/tonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonn/subscriptions","organizations_url":"https://api.github.com/users/tonn/orgs","repos_url":"https://api.github.com/users/tonn/repos","events_url":"https://api.github.com/users/tonn/events{/privacy}","received_events_url":"https://api.github.com/users/tonn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-03T11:35:43Z","updated_at":"2018-10-03T14:04:04Z","closed_at":null,"author_association":"NONE","body":"## Environment\r\n```\r\n  \"dependencies\": {\r\n    \"react\": \"16.4.1\",\r\n    \"react-native\": \"github:status-im/react-native-desktop\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"babel-jest\": \"23.6.0\",\r\n    \"babel-preset-react-native\": \"5.0.2\",\r\n    \"jest\": \"23.6.0\",\r\n    \"react-test-renderer\": \"16.4.1\"\r\n  },\r\n```\r\n```\r\nC:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop>npx react-native info\r\nScanning folders for symlinks in C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules (36ms)\r\n\r\n  React Native Environment Info:\r\n    System:\r\n      OS: Windows 10\r\n      CPU: x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz\r\n      Memory: 5.88 GB / 15.80 GB\r\n    Binaries:\r\n      npm: 6.4.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n    IDEs:\r\n      Android Studio: Version  3.2.0.0 AI-181.5540.7.32.5014246\r\n```\r\n\r\n## Description\r\nI created new application according to docs/CreateNewApp.md\r\nAnd I started it by command:\r\n`cmd /C \"set PATH=%PATH%;C:/Qt/Tools/mingw530_32/bin && set CMAKE_PREFIX_PATH=C:/Qt/5.9.1/mingw53_32; && npx react-native run-desktop\"`\r\n\r\nThere was few console windows appearance. But there was no application appearance so I ran `desktop/bin/reactNativeDesktop.exe` manually.\r\nI got this: https://i.imgur.com/CEA4fkq.png\r\n\r\n```\r\nerror: bundling failed: Error: jest-haste-map: @providesModule naming collision:\r\n  Duplicate module name: C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\react-native\\Libraries\\ReactNative\\renderApplication\r\n  Paths: C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\react-native\\Libraries\\ReactNative\\renderApplication.js collides with C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\react-native\\Libraries\\ReactNative\\renderApplication.desktop.js\r\n\r\nThis error is caused by a @providesModule declaration with the same name across two different files.\r\n    at setModule (C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\jest-haste-map\\build\\index.js:446:17)\r\n    at workerReply (C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\jest-haste-map\\build\\index.js:496:9)\r\n    at process._tickCallback (internal/process/next_tick.js:68:7)\r\n BUNDLE  [desktop, dev] ./index.desktop.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/status-im/react-native-desktop/issues/comments/426649714","html_url":"https://github.com/status-im/react-native-desktop/issues/357#issuecomment-426649714","issue_url":"https://api.github.com/repos/status-im/react-native-desktop/issues/357","id":426649714,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjY0OTcxNA==","user":{"login":"tonn","id":166351,"node_id":"MDQ6VXNlcjE2NjM1MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/166351?v=4","gravatar_id":"","url":"https://api.github.com/users/tonn","html_url":"https://github.com/tonn","followers_url":"https://api.github.com/users/tonn/followers","following_url":"https://api.github.com/users/tonn/following{/other_user}","gists_url":"https://api.github.com/users/tonn/gists{/gist_id}","starred_url":"https://api.github.com/users/tonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tonn/subscriptions","organizations_url":"https://api.github.com/users/tonn/orgs","repos_url":"https://api.github.com/users/tonn/repos","events_url":"https://api.github.com/users/tonn/events{/privacy}","received_events_url":"https://api.github.com/users/tonn/received_events","type":"User","site_admin":false},"created_at":"2018-10-03T14:04:04Z","updated_at":"2018-10-03T14:04:04Z","author_association":"NONE","body":"Manual patching was helped. But I got new error:\r\n```\r\nerror: bundling failed: Error: Unable to resolve module `AccessibilityInfo` from `C:\\Workspaces\\_Temp\\20181003\\reactNativeDesktop\\node_modules\\react-native\\Libraries\\react-native\\react-native-implementation.js`: Module `AccessibilityInfo` does not exist in the Haste module map\r\n```"}}
{"actor":{"display_login":"tonn"}}