native-start-kit run on android appear UnableToResolveError: Unable to resolve module socketcluster-client
xiajian opened this issue · comments
I use native-starter-kit(5.3.0) and master ,but when I use it on window 10, with
react-native-cli(2.0.1) and react-native(0.41.2) 。It happean the fellowing misstake:
Loading dependency graph, done.
Bundling `index.android.js`
Transforming modules ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99.7% (781/782)...(node:5780)
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1278):
UnableToResolveError: Unable to resolve module D:\works\node\native-starter-kit-5.3.0\node_modules\socketcluster-client\lib\sctransport.j\lib\ws-browser.js from
D:\works\node\native-starter-kit-5.3.0\node_modules\socketcluster-client\lib\sctransport.js: Directory
D:\works\node\native-starter-kit-5.3.0\node_modules\socketcluster-client\lib\sctransport.j\lib\ws-browser.js doesn't exist
I find it not work on windows, but it work on macOS。 why??
Closing this issue due to inactivity
Please reopen if the issue continues