You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
I'm using a new m1 macbook, I can't start my project which use pg and pg-native, despite the fact that pg_config is available and libpq is installed on my computer.
Minimal reproduction
when I run this code with node
const Client = require('pg-native');
const client = new Client();
client.connectSync();
I've got the error dyld[a number here]: missing symbol called.
I guess it's due to the new M1 chip, but I have no clue to resolve this.
Information on my system
arch : arm64
macos : 12.0.1
node : v14.18.2
pg : 8.5.1
pg-native : 3.0.0
psql: 14.1
Do you know what can cause the problem ?
I'm available if you need more info
The text was updated successfully, but these errors were encountered:
I ran into the same issue today, and it seems to be related to Rosetta (Node 14 is not native and runs via Rosetta).
The problem didn't happen using Node 16 - as it runs natively on arm Macs.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm using a new m1 macbook, I can't start my project which use
pg
andpg-native
, despite the fact thatpg_config
is available andlibpq
is installed on my computer.Minimal reproduction
when I run this code with node
I've got the error
dyld[a number here]: missing symbol called
.I guess it's due to the new M1 chip, but I have no clue to resolve this.
Information on my system
Do you know what can cause the problem ?
I'm available if you need more info
The text was updated successfully, but these errors were encountered: