Build failing on sqlserver driver for nodejs - node.js

I'm trying to install node-sqlserver for my application in the node_modules directory by typing the following command,
npm install node-sqlserver
This is what I get,
npm WARN package.json application-name#0.0.1 No README.md file found!
npm WARN package.json node#0.0.0 No README.md file found!
npm http GET https://registry.npmjs.org/node-sqlserver
npm http 304 https://registry.npmjs.org/node-sqlserver
npm WARN deprecated node-sqlserver#0.1.0: This package has been superseded by msnodesql.
> node-sqlserver#0.1.0 install C:\Users\Tarun\Desktop\Songify\node_modules\node-sqlserver
> node-gyp rebuild
C:\Users\Tarun\Desktop\Songify\node_modules\node-sqlserver>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node
-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp ERR! rebuild error Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! rebuild error at failNoPython (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\con
figure.js:85:14)
gyp ERR! rebuild error at Object.oncomplete (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\li
b\configure.js:59:11)
gyp ERR! not ok
npm ERR! node-sqlserver#0.1.0 install: `node-gyp rebuild`
npm ERR! `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the node-sqlserver#0.1.0 install script.
npm ERR! This is most likely a problem with the node-sqlserver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-sqlserver
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "node-sqlserver"
npm ERR! cwd C:\Users\Tarun\Desktop\Songify\node_modules
npm ERR! node -v v0.6.20
npm ERR! npm -v 1.1.37
npm ERR! code ELIFECYCLE
npm ERR! message node-sqlserver#0.1.0 install: `node-gyp rebuild`
npm ERR! message `cmd "/c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Tarun\Desktop\Songify\node_modules\npm-debug.log
npm ERR! not ok code undefined
npm ERR! not ok code 1
How do I resolve this issue? I'm using express as well

Your answer is in the output, you need to install python, following that you will get another error, you will need to install Microsoft SDK for Windows Server 2008 and dot net framework 3.5

Related

Error while updating to Meteor 1.4

Recently, Meteor has been upgraded to v1.4, well that's great! Unfortunately for me, I cannot upgrade it and have an error log like this.
While loading package npm-bcrypt#0.8.7:
error: Command failed:
/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm
rebuild --no-bin-links --update-binary
sh: 1: node-gyp: Permission denied
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
/root/.meteor/packages/npm-bcrypt/.0.8.7.1i1986o++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1fwxhnx/npm-debug.log
sh: 1: node-gyp: Permission denied
npm ERR! Linux 4.4.0-21-generic
npm ERR! argv
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/root/.meteor/packages/meteor-tool/.1.4.0.1oo55z5++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
/root/.meteor/packages/npm-bcrypt/.0.8.7.1i1986o++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1fwxhnx/npm-debug.log
I already tried to uninstall and install node js and npm, I thought it will success but the same error still showed up. Can anyone help me?? thank you
A few different solutions for your issue, depending on platform at:
https://github.com/meteor/meteor/issues/7469#issuecomment-235563857
(Meteor problems are usually easier solved through github issues than Stack Overflow Questions)

Installing an app with Node fails miserably - npm ERR! fetch failed

I am trying to install and test an app that uses NodeJS.
The instruction simply say to run these commands...
git clone https://github.com/sdelements/lets-chat.git
cd lets-chat
npm install
npm start
When I run npn install things go really bad and I see like 100 error messages in my console!
npm WARN engine mongoose-validate#0.0.5: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.29","npm":"1.4.14"})
|
> node-stringprep#0.7.0 install E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\node-xmpp-core\node_modules\node-stringprep
> node-gyp rebuild
E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\node-xmpp-core\node_modules\node-stringprep>node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visua
l Studio 2005 or 3) add the location of the component to the system path if it
is installed elsewhere. [E:\Server\htdocs\projects\lets-chat\lets-chat\node_mo
dules\node-xmpp-core\node_modules\node-stringprep\build\binding.sln]
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\node-xmpp-core\node_modules\node-stringprep
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
npm ERR! node-stringprep#0.7.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-stringprep#0.7.0 install script.
npm ERR! This is most likely a problem with the node-stringprep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-stringprep
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd E:\Server\htdocs\projects\lets-chat\lets-chat
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! code ELIFECYCLE
npm WARN optional dep failed, continuing fsevents#0.3.5
npm ERR! fetch failed https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/hike/-/hike-1.0.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/onecolor/-/onecolor-2.5.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/postcss/-/postcss-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-tools/-/fs-tools-0.2.11.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-extra/-/fs-extra-0.14.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/mimoza/-/mimoza-0.3.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/nan/-/nan-1.6.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/configstore/-/configstore-0.3.2.tgz
npm ERR! Error: ENOENT, lstat 'E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\grunt-bower\node_modules\bower\node_modules\tar\node_modules\block-stream\bench\dropper.js'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd E:\Server\htdocs\projects\lets-chat\lets-chat
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\grunt-bower\node_modules\bower\node_modules\tar\node_modules\block-stream\bench\dropper.js
npm ERR! fstream_path E:\Server\htdocs\projects\lets-chat\lets-chat\node_modules\grunt-bower\node_modules\bower\node_modules\tar\node_modules\block-stream\bench\dropper.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR! fstream_stack C:\Program Files\nodejs\node_modules\npm\node_modules\fstream\lib\writer.js:284:26
npm ERR! fstream_stack Object.oncomplete (fs.js:107:15)
npm ERR! fetch failed https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/iconv/-/iconv-2.1.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/hoek/-/hoek-2.11.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/hike/-/hike-1.0.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/onecolor/-/onecolor-2.5.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/postcss/-/postcss-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-tools/-/fs-tools-0.2.11.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-extra/-/fs-extra-0.14.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/mimoza/-/mimoza-0.3.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/nan/-/nan-1.6.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/configstore/-/configstore-0.3.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/iconv/-/iconv-2.1.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/hoek/-/hoek-2.11.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/hike/-/hike-1.0.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/onecolor/-/onecolor-2.5.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/postcss/-/postcss-4.0.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-tools/-/fs-tools-0.2.11.tgz
npm ERR! fetch failed https://registry.npmjs.org/nan/-/nan-1.6.2.tgz
npm ERR! fetch failed https://registry.npmjs.org/fs-extra/-/fs-extra-0.14.0.tgz
npm WARN optional dep failed, continuing utf-8-validate#1.0.1
npm WARN optional dep failed, continuing bufferutil#1.0.1
npm WARN optional dep failed, continuing kerberos#0.0.9
npm WARN optional dep failed, continuing kerberos#0.0.9
npm ERR! fetch failed https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-0.1.8.tgz
npm ERR! fetch failed https://registry.npmjs.org/mimoza/-/mimoza-0.3.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-1.2.1.tgz
npm ERR! fetch failed https://registry.npmjs.org/benchmark/-/benchmark-1.0.0.tgz
npm ERR! fetch failed https://registry.npmjs.org/iconv/-/iconv-2.1.6.tgz
npm ERR! fetch failed https://registry.npmjs.org/hoek/-/hoek-2.11.1.tgz
npm WARN optional dep failed, continuing request#2.53.0
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! E:\Server\htdocs\projects\lets-chat\lets-chat\npm-debug.log
npm ERR! not ok code 0
I see the first part of the error messages is this complaining about a Windows component missing. I should have that but I will fix that....
MSBUILD : error MSB3428: Could not load the Visual C++ component "VCBuild.exe".
To fix this, 1) install the .NET Framework 2.0 SDK, 2) install Microsoft Visual Studio 2005 or 3) add the location of the component to the system path if it is installed elsewhere.
However the bulk of the errors are related to NODE
How can I fix these?
If you install VS that should do it.
I should also add that you might have issues getting this thing to run in Windows. Maybe consider using docker or one of the other deployment options.
Source: I'm one of the authors of Let's Chat.

npm errow while try using yeoman generator

hello i try to run npm install -g yo but i have got error :
npm install -g yo
npm http GET https://registry.npmjs.org/yo
npm http 304 https://registry.npmjs.org/yo
npm ERR! Error: No compatible version found: yo
npm ERR! No valid targets found.
npm ERR! Perhaps not compatible with your version of node?
npm ERR! at installTargetsError (/usr/local/lib/node_modules/npm/lib/cache.js:486:10)
npm ERR! at next_ (/usr/local/lib/node_modules/npm/lib/cache.js:436:17)
npm ERR! at next (/usr/local/lib/node_modules/npm/lib/cache.js:413:44)
npm ERR! at /usr/local/lib/node_modules/npm/lib/cache.js:406:5
npm ERR! at saved (/usr/local/lib/node_modules/npm/lib/utils/npm-registry-client/get.js:151:7)
npm ERR! at Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:230:7)
npm ERR! You may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-#googlegroups.com>
npm ERR!
npm ERR! System Linux 3.13.0-36-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "yo"
npm ERR! cwd /home
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! message No compatible version found: yo
npm ERR! message No valid targets found.
npm ERR! message Perhaps not compatible with your version of node?
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Linux 3.13.0-36-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "yo"
npm ERR! cwd /home
npm ERR! node -v v0.6.18
npm ERR! npm -v 1.1.21
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! message EACCES, open 'npm-debug.log'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/npm-debug.log
I havent got any idea what is wrong my npm version is 1.1.21 my node version is v0.6.18
Can you give me some advice what is wrong with that configuration ?
You need to upgrade your version of Node.js and npm.
From the Yeoman website:
Install prerequisites
Before installing Yeoman, you will need the following:
Node.js v0.10.x+
npm (which comes bundled with Node) v1.4.3+
git

Noodlejs won't install

I'm trying to install noodlejs using npm on Windows and I'm receiving the following error messages:
> "C:\Program Files (x86)\nodejs\npm.cmd" install noodlejs
npm WARN engine noodlejs#0.3.1: wanted: {"node":"0.6.x"} (current: {"node":"0.10.32","npm":"1.4.28"})
> node-expat#2.0.0 install C:\Users\alex\Desktop\Node\node_modules\noodlejs\node_modules\xml2json\node_modules\node-expat
> node-gyp rebuild
C:\Users\alex\Desktop\Node\node_modules\noodlejs\node_modules\xml2json\node_modules\node-expat>node "C:\Program Files (x86)\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
gyp
npm ERR! node-expat#2.0.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-expat#2.0.0 install script.
npm ERR! This is most likely a problem with the node-expat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls node-expat
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "noodlejs"
npm ERR! cwd C:\Users\alex\Desktop\Node
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm
Process finished with exit code 1 at 19:44:25.
Execution time: 23,672 ms.
> node-gyp rebuild
Cannot run program "node-gyp" (in directory "C:\Users\alex\Desktop\Node"): CreateProcess error=2, The system cannot find the file specified
How can I fix this issue?
Thanks

Why do I get this error when installing npm now package?

When I try to install now package it is giving me following error:
npm install now
npm WARN package.json Paint_HTML5_multi#0.3.0 No repository field.
npm WARN package.json Paint_HTML5_multi#0.3.0 No README data
npm http GET https://registry.npmjs.org/now
npm http 304 https://registry.npmjs.org/now
npm http GET https://registry.npmjs.org/node-proxy
npm http 304 https://registry.npmjs.org/node-proxy
npm WARN engine node-proxy#0.8.0: wanted: {"node":">=0.11.x","npm":">= 1.1.17"} (current: {"node":"v0.10.25","npm":"1.3.24"})
npm http GET https://registry.npmjs.org/bindings
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/bindings
> node-proxy#0.8.0 install /home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7/node_modules/now/node_modules/node-proxy
> node-gyp configure build
make: Entering directory `/home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7/node_modules/now/node_modules/node-proxy/build'
CXX(target) Release/obj.target/nodeproxy/src/node-proxy.o
make: g++: Command not found
make: *** [Release/obj.target/nodeproxy/src/node-proxy.o] Error 127
make: Leaving directory `/home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7/node_modules/now/node_modules/node-proxy/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.8.0-35-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7/node_modules/now/node_modules/node-proxy
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! node-proxy#0.8.0 install: `node-gyp configure build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-proxy#0.8.0 install script.
npm ERR! This is most likely a problem with the node-proxy package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls node-proxy
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.8.0-35-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "now"
npm ERR! cwd /home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ritzy1/Downloads/downloaded codes/drawing app/Paint_HTML5_Multi_Tutorial/Step7/npm-debug.log
npm ERR! not ok code 0
I'm getting the above error; how can I fix it?
You need build tools installed on your system. Based on the directory paths, I can assume you're using linux. On ubuntu, for example, you can install build tools like so: sudo apt-get install -y build-essential, otherwise view this README to see what tools are required to be installed.

Resources