facebook / facebook/flow

Flow fails to parse a valid package.json file

Open
#4,867 15 comments 6 reactions 0 assignees View on GitHub
bug parsing
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

My project has a dependency on https://github.com/creationix/http-parser-js/blob/master/package.json. Flow throws this error:

`
Error: node_modules/http-parser-js/package.json:1
1: {
^ Unexpected end of input
`

It looks like it's because these two lines here: https://github.com/creationix/http-parser-js/blob/master/package.json#L21-L22 contain ä and ü. But this should be valid json?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.