Closed devmetal closed 7 years ago
Not sure if you have solved this.
Seems like you are missing the libpq-dev on your Windows. The libpq-dev can be installed directly on Linux as a package. On Windows, I installed libpq-dev equivalent by the vcpkg (https://blogs.msdn.microsoft.com/vcblog/2016/09/19/vcpkg-a-tool-to-acquire-and-build-c-open-source-libraries-on-windows/) like "vcpkg install libpq:x64-windows", and then set PATH to ensure the built pg_config.exe accessible.
Hope it helps.
You will not belive what was the problem. I have two partitions, C, and D. The C holds the windows and the D is my data, games, programing stuffs. If i installed the postgresql to the D, the thing is not worked, but i tried to install to C, and its worked magically. I don't know what was the real problem. I use linux now, and all package working correctly, but on windows, my experience is something always broken with the npm packages.
So i think we can close this right now, just forgoted to open issue, thank you anyway :)
Glad you got it fixed! And yeah, building native packages on windows is difficult. 😬
Hi, i have an issue with this module install. I followed the manual, installed postgresql added to path and i checked the dll and config files.
I use windows 8.1, visual studio 2015 community with the latest npm and node version.
Here is the output of npm install pg-native -g --verbose > output.txt command: