Closed
Description
There is a problem installing pg on Windows with npm. This is due to the script that pg tries to run on install. The error message looks like this:
c:\node>npm install pg
> pg@0.6.3 install c:\node\node_modules\pg
> node-waf configure build || true
'node-waf' is not recognized as an internal or external command,
operable program or batch file.
'true' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! error installing pg@0.6.3 Error: pg@0.6.3 install: `node-waf configure
build || true`
... (blah blah blah)
As you can see, "true" is not a recognized command on Windows.
Is there a Windows-friendly way to rephrase the install script, something other than "node-waf configure build || true"? I know that something like "node-waf configure build || exit 0" would work, but I don't know what that does in Linux or Mac OSX.
Metadata
Metadata
Assignees
Labels
No labels