LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

fix: postgres installation on macos #374

Closed pyk closed 2 years ago

pyk commented 2 years ago
❯ npx graph test -l
OS type: Darwin
OS arch: x64
OS release: 21.6.0
OS major version: 21
CPU model: Apple M1
Download link: https://github.com/LimeChain/matchstick/releases/download/0.5.3/binary-macos-11
Downloading release from https://github.com/LimeChain/matchstick/releases/download/0.5.3/binary-macos-11
binary-macos-11 has been installed!
dyld[12627]: Library not loaded: '/usr/local/opt/postgresql/lib/libpq.5.dylib'
  Referenced from: '/Users/pyk/github/risedle/monorepo/node_modules/binary-install-raw/bin/0.5.3/binary-macos-11'
  Reason: tried: '/usr/local/opt/postgresql/lib/libpq.5.dylib' (no such file), '/usr/local/lib/libpq.5.dylib' (no such file), '/usr/lib/libpq.5.dylib' (no such file)

Symlink solve the problem

georg-getz commented 2 years ago

Hi, thanks for the PR.