How to install web3-js on Windows platform?

BarkelyBarkely Posts: 5Member
Sir,
I want to use a web3-js on my test website. My website use Apache/PHP/MySQL.
The server has installed geth ,synchronized the newest blockchain and mined correctly.
I have installed node and npm,too.
But when I run "npm install web3" in command mode,it shows the error message:
********************************
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "web3"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ENOSELF

npm ERR! Refusing to install web3 as a dependency of itself
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!

npm ERR! Please include the following file with any support request:
npm ERR! D:\project\軟體\ethereum\web3.js-develop\npm-debug.log
********************************
I'm not sure whether I can install web3-js on Windows platform. I don't find related material about how to install web3-js on Windows platform.
So ,could anyone tell me why?and how to do this?
Thanks~~
Barkely

Comments

Sign In or Register to comment.