Skip to content

Commit

Permalink
Merge pull request #180 from cofacts/readme_grpc
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
MrOrz committed Jul 6, 2020
2 parents 8ca66a9 + b65fd03 commit 236152b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,16 @@ URLs. The following script cleans up those `urls` that no article & reply curren
```
$ docker-compose exec api node_modules/.bin/babel-node src/scripts/cleanupUrls.js
```

## Troubleshooting

### Failed to load gRPC binary on Mac

If `rumors-api` server fails to start due to the following error:
```
Cannot find module '/srv/www/node_modules/grpc/src/node/extension_binary/node-v72-linux-x64-glibc/grpc_node.node'
```
try running:
```
npm rebuild --target_platform=linux --target_arch=x64 --target_libc=glibc --update-binary
```

0 comments on commit 236152b

Please sign in to comment.