react-native: Cannot resolve module when running Flow on Windows

Environment

Run react-native info in your terminal and paste its contents here. react-native info

React Native Environment Info: System: OS: Windows 10 CPU: x64 Intel® Core™ i5-7200U CPU @ 2.50GHz Memory: 2.09 GB / 7.91 GB Binaries: Yarn: 1.9.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.1.0 - C:\Program Files\nodejs\npm.CMD

Description

using flow not working and got error with “Cannot resolve module XXXXXX”. but same action under macOS works well.

Reproducible Demo

react-native init testapp cd testapp yarn add flow-bin@0.78.0 --dev yarn flow

under windows will get errors.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 3
  • Comments: 19 (11 by maintainers)

Most upvoted comments

No other one using flow under windows or don’t have any problem on this?