Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native + flow issue #90

Open
costerik opened this issue Apr 7, 2020 · 2 comments
Open

react-native + flow issue #90

costerik opened this issue Apr 7, 2020 · 2 comments

Comments

@costerik
Copy link

costerik commented Apr 7, 2020

$ flow
Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/findup/test/fixture/config.json:1:1

Unexpected end of input, expected a valid JSON value

     1│


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/findup/test/fixture/f/e/d/c/b/a/top.json:1:1

Unexpected end of input, expected a valid JSON value

     1│


Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ node_modules/findup/test/fixture/f/e/d/c/config.json:1:1

Unexpected end of input, expected a valid JSON value

     1│



Found 3 errors
error Command failed with exit code 2.
@elderfo
Copy link
Owner

elderfo commented Apr 7, 2020

How do you replicate this?

@costerik
Copy link
Author

costerik commented Apr 7, 2020

Follow this steps

  • npx react-native init ProjectName
  • yarn add -D react-native-storybook-loader
  • yarn add -D flow-bin@0.113
  • yarn flow

I solved it adding this rule <PROJECT_ROOT>/node_modules/findup/.* in the [ignore] section of the .flowconfig file

michaelbayday pushed a commit to michaelbayday/react-native-storybook-loader that referenced this issue Jun 26, 2020
…n/typescript-eslint/eslint-plugin-1.9.0

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 1.4.2 to 1.9.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants