-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Install problem with Windows XP #398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
2nd bug report related to the |
I'm having the same problem with Windows 7. |
@HaroldLowery @pspi can you run this command?
|
Brian, npm http GET https://registry.npmjs.org/generic-pool/2.0.3
C:\StrongTower\0Javascript\node.js\node\node_modules\pg\node_modules\ref>node "C:\StrongTower\0Javascript\node.js\node\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
C:\StrongTower\0Javascript\node.js\node\node_modules\pg>node "C:\StrongTower\0Javascript\node.js\node\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild |
I think that output is indicating the install functioned correctly. Were you able to use the module after installing directly from the git URL? You cannot use the native bindings because you don't have a correct compiler environment set up, but the JavaScript bindings are what I use on all my projects anyway, so I wouldn't be concerned about that. |
Agree that I want to use the JavaScript bindings, not the native. npm WARN unmet dependency C:\StrongTower\0Javascript\node.js\node\node_modules\npm requires normalize-package-data@'~0.1.7' but will load I tried the “Simple” example code, but the require statement throws an error, apparently because it can't find pg. module.js:340 |
I got node-postgres working on my system by commenting out references to the ref module in ..\pg\lib\types\index.js . That's okay for what I'm working on, but probably isn't the right answer for this issue. |
I’m new to node.js and I’m having a problem installing on Windows XP.
I have node installed and working and PostgreSQL working as well, but I cannot get node-postgres to install. I’ve searched the documentation and issues, but I’m baffled.
c:\StrongTower\0Javascript\node.js\node\npm install pg
npm http GET https://registry.npmjs.org/pg
npm http 200 https://registry.npmjs.org/pg
npm http GET https://registry.npmjs.org/pg/-/pg-2.1.0.tgz
npm http 200 https://registry.npmjs.org/pg/-/pg-2.1.0.tgz
npm http GET https://registry.npmjs.org/buffer-writer/1.0.0
npm http GET https://registry.npmjs.org/ref/0.1.3
npm http GET https://registry.npmjs.org/generic-pool/2.0.3
npm http 304 https://registry.npmjs.org/ref/0.1.3
npm http 304 https://registry.npmjs.org/buffer-writer/1.0.0
npm http 304 https://registry.npmjs.org/generic-pool/2.0.3
npm http GET https://registry.npmjs.org/ref/-/ref-0.1.3.tgz
npm http GET https://registry.npmjs.org/generic-pool/-/generic-pool-2.0.3.tgz
npm http 200 https://registry.npmjs.org/generic-pool/-/generic-pool-2.0.3.tgz
npm http 200 https://registry.npmjs.org/ref/-/ref-0.1.3.tgz
npm http GET https://registry.npmjs.org/cloned/0.0.1
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/cloned/0.0.1
npm http 304 https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/rmdir
npm http 304 https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/debug
C:\StrongTower\0Javascript\node.js\node\node_modules\pg\node_modules\ref>node
"C:\StrongTower\0Javascript\node.js\node\node_modules\npm\bin\node-gyp-bin....\node_modules\node-gyp\bin\node-gyp.js" rebuild
npm http 304 https://registry.npmjs.org/rmdir
gyp ERR! configure error
gyp ERR! stack Error: Command failed: Traceback (most recent call last):
gyp ERR! stack File "(string)", line 1, in ?
gyp ERR! stack ImportError: No module named platform
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:637:15)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:735:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:802:5)
gyp ERR! System Windows_NT 5.1.2600
gyp ERR! command "node" "C:\StrongTower\0Javascript\node.js\node\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js"
rebuild"
gyp ERR! cwd C:\StrongTower\0Javascript\node.js\node\node_modules\pg\node_modules\ref
gyp ERR! node -v v0.10.12
gyp ERR! node-gyp -v v0.10.1
gyp ERR! not ok
npm ERR! weird error 1
npm ERR! not ok code 0
The text was updated successfully, but these errors were encountered: