npm install browserify stuck - npm-install

When I tried to install browserify, it got stuck on installation. Here is the code and logs:
$ npm install --save --no-optionals --verbose browserify
npm info it worked if it ends with ok
npm verb cli [ 'D:\\Software\\Matrix\\nodejs\\node.exe',
npm verb cli 'D:\\Software\\Matrix\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli '--save',
npm verb cli '--no-optionals',
npm verb cli '--verbose',
npm verb cli 'browserify' ]
npm info using npm#5.5.1
npm info using node#v9.3.0
npm verb npm-session dac291176e74610d
npm http fetch GET 200 http://registry.npmjs.org/browserify 317ms
npm http fetch GET 200 http://registry.npmjs.org/JSONStream 59ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-zlib 150ms
npm http fetch GET 200 http://registry.npmjs.org/assert 153ms
npm http fetch GET 200 http://registry.npmjs.org/browser-pack 169ms
npm http fetch GET 200 http://registry.npmjs.org/browser-resolve 173ms
npm http fetch GET 200 http://registry.npmjs.org/cached-path-relative 176ms
npm http fetch GET 200 http://registry.npmjs.org/buffer 184ms
npm http fetch GET 200 http://registry.npmjs.org/constants-browserify 185ms
npm http fetch GET 200 http://registry.npmjs.org/concat-stream 187ms
npm http fetch GET 200 http://registry.npmjs.org/console-browserify 189ms
npm http fetch GET 200 http://registry.npmjs.org/crypto-browserify 162ms
npm http fetch GET 200 http://registry.npmjs.org/domain-browser 91ms
npm http fetch GET 200 http://registry.npmjs.org/deps-sort 98ms
npm http fetch GET 200 http://registry.npmjs.org/has 161ms
npm http fetch GET 200 http://registry.npmjs.org/https-browserify 151ms
npm http fetch GET 200 http://registry.npmjs.org/events 170ms
npm http fetch GET 200 http://registry.npmjs.org/htmlescape 173ms
npm http fetch GET 200 http://registry.npmjs.org/duplexer2 207ms
npm http fetch GET 200 http://registry.npmjs.org/insert-module-globals 192ms
npm http fetch GET 200 http://registry.npmjs.org/glob 233ms
npm http fetch GET 200 http://registry.npmjs.org/os-browserify 139ms
npm http fetch GET 200 http://registry.npmjs.org/labeled-stream-splicer 195ms
npm http fetch GET 200 http://registry.npmjs.org/module-deps 192ms
npm http fetch GET 200 http://registry.npmjs.org/path-browserify 160ms
npm http fetch GET 200 http://registry.npmjs.org/parents 172ms
npm http fetch GET 200 http://registry.npmjs.org/process 158ms
npm http fetch GET 200 http://registry.npmjs.org/querystring-es3 164ms
npm http fetch GET 200 http://registry.npmjs.org/read-only-stream 150ms
npm http fetch GET 200 http://registry.npmjs.org/readable-stream 104ms
npm http fetch GET 200 http://registry.npmjs.org/shasum 134ms
npm http fetch GET 200 http://registry.npmjs.org/stream-browserify 125ms
npm http fetch GET 200 http://registry.npmjs.org/shell-quote 136ms
npm http fetch GET 200 http://registry.npmjs.org/stream-http 121ms
npm http fetch GET 200 http://registry.npmjs.org/subarg 108ms
npm http fetch GET 200 http://registry.npmjs.org/string_decoder 145ms
npm http fetch GET 200 http://registry.npmjs.org/syntax-error 104ms
npm http fetch GET 200 http://registry.npmjs.org/timers-browserify 115ms
npm http fetch GET 200 http://registry.npmjs.org/tty-browserify 109ms
npm http fetch GET 200 http://registry.npmjs.org/url 87ms
npm http fetch GET 200 http://registry.npmjs.org/util 82ms
npm http fetch GET 200 http://registry.npmjs.org/vm-browserify 121ms
npm http fetch GET 200 http://registry.npmjs.org/inherits 35ms
npm http fetch GET 200 http://registry.npmjs.org/combine-source-map 24ms
npm http fetch GET 200 http://registry.npmjs.org/umd 43ms
npm http fetch GET 200 http://registry.npmjs.org/inline-source-map 52ms
npm http fetch GET 200 http://registry.npmjs.org/convert-source-map 55ms
npm http fetch GET 200 http://registry.npmjs.org/lodash.memoize 63ms
npm http fetch GET 200 http://registry.npmjs.org/jsonparse 84ms
npm http fetch GET 200 http://registry.npmjs.org/resolve 29ms
npm http fetch GET 200 http://registry.npmjs.org/pako 33ms
npm http fetch GET 200 http://registry.npmjs.org/base64-js 33ms
npm http fetch GET 200 http://registry.npmjs.org/ieee754 34ms
npm http fetch GET 200 http://registry.npmjs.org/typedarray 27ms
npm http fetch GET 200 http://registry.npmjs.org/isarray 18ms
npm http fetch GET 200 http://registry.npmjs.org/date-now 42ms
npm http fetch GET 200 http://registry.npmjs.org/create-ecdh 47ms
npm http fetch GET 200 http://registry.npmjs.org/create-hmac 65ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-sign 68ms
npm http fetch GET 200 http://registry.npmjs.org/public-encrypt 69ms
npm http fetch GET 200 http://registry.npmjs.org/create-hash 71ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-cipher 78ms
npm http fetch GET 200 http://registry.npmjs.org/pbkdf2 78ms
npm http fetch GET 200 http://registry.npmjs.org/diffie-hellman 81ms
npm http fetch GET 200 http://registry.npmjs.org/randombytes 109ms
npm http fetch GET 200 http://registry.npmjs.org/randomfill 115ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-aes 34ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-des 58ms
npm http fetch GET 200 http://registry.npmjs.org/evp_bytestokey 59ms
npm http fetch GET 200 http://registry.npmjs.org/buffer-xor 21ms
npm http fetch GET 200 http://registry.npmjs.org/cipher-base 23ms
npm http fetch GET 200 http://registry.npmjs.org/ripemd160 26ms
npm http fetch GET 200 http://registry.npmjs.org/sha.js 29ms
npm http fetch GET 200 http://registry.npmjs.org/hash-base 26ms
npm http fetch GET 200 http://registry.npmjs.org/md5.js 19ms
npm http fetch GET 200 http://registry.npmjs.org/des.js 24ms
npm http fetch GET 200 http://registry.npmjs.org/minimalistic-assert 21ms
npm http fetch GET 200 http://registry.npmjs.org/bn.js 31ms
npm http fetch GET 200 http://registry.npmjs.org/parse-asn1 33ms
npm http fetch GET 200 http://registry.npmjs.org/browserify-rsa 59ms
npm http fetch GET 200 http://registry.npmjs.org/elliptic 60ms
npm http fetch GET 200 http://registry.npmjs.org/brorand 84ms
npm http fetch GET 200 http://registry.npmjs.org/hash.js 95ms
npm http fetch GET 200 http://registry.npmjs.org/hmac-drbg 125ms
npm http fetch GET 200 http://registry.npmjs.org/minimalistic-crypto-utils 126ms
npm http fetch GET 200 http://registry.npmjs.org/asn1.js 33ms
npm http fetch GET 200 http://registry.npmjs.org/miller-rabin 33ms
npm http fetch GET 200 http://registry.npmjs.org/json-stable-stringify 31ms
npm http fetch GET 200 http://registry.npmjs.org/fs.realpath 73ms
npm http fetch GET 200 http://registry.npmjs.org/minimatch 75ms
npm http fetch GET 200 http://registry.npmjs.org/function-bind 46ms
npm http fetch GET 200 http://registry.npmjs.org/lexical-scope 51ms
npm http fetch GET 200 http://registry.npmjs.org/astw 27ms
npm http fetch GET 200 http://registry.npmjs.org/acorn 53ms
npm http fetch GET 200 http://registry.npmjs.org/stream-splicer 21ms
npm http fetch GET 200 http://registry.npmjs.org/detective 32ms
npm http fetch GET 200 http://registry.npmjs.org/stream-combiner2 35ms
npm http fetch GET 200 http://registry.npmjs.org/#browserify%2facorn5-object-spread 138ms
npm http fetch GET 200 http://registry.npmjs.org/path-platform 80ms
npm http fetch GET 200 http://registry.npmjs.org/array-reduce 45ms
npm http fetch GET 200 http://registry.npmjs.org/array-filter 46ms
npm http fetch GET 200 http://registry.npmjs.org/array-map 45ms
npm http fetch GET 200 http://registry.npmjs.org/builtin-status-codes 36ms
npm http fetch GET 200 http://registry.npmjs.org/to-arraybuffer 44ms
npm http fetch GET 200 http://registry.npmjs.org/querystring 48ms
npm http fetch GET 200 http://registry.npmjs.org/punycode 52ms
npm http fetch GET 200 http://registry.npmjs.org/fsevents 68ms
The terminal stuck here (right after GET fsevents) forever.
What else can I do?

This was also my problem, What I did is that closed the cmd and again started with Admin privileges. Then again started the install and it worked this time.

Related

Stuck in npm install - M1 Mac

I moved to an M1 Mac about a month ago, and I was able to solve most of the compatibility problems but I have this Node project I cannot get it to install.
I'm running node v12.19.1 (npm 7.5.4) using x64. Let me know if I need to provide any other logs, or try any other different command
~/projects/cybersource | master *2 npm i --verbose
INT | 16s | 12.19.1 node | 20:45:38
npm verb cli [
npm verb cli '/Users/agustin/.nvm/versions/node/v12.19.1/bin/node',
npm verb cli '/Users/agustin/.nvm/versions/node/v12.19.1/bin/npm',
npm verb cli 'i',
npm verb cli '--verbose'
npm verb cli ]
npm info using npm#7.5.4
npm info using node#v12.19.1
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:/Users/agustin/.nvm/versions/node/v12.19.1/lib/node_modules/npm/npmrc Completed in 2ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 1ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:/Users/agustin/projects/cybersource/.npmrc Completed in 0ms
npm timing config:load:project Completed in 0ms
npm timing config:load:file:/Users/agustin/.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:/Users/agustin/.nvm/versions/node/v12.19.1/etc/npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 1ms
npm timing config:load:setEnvs Completed in 1ms
npm timing config:load Completed in 8ms
npm verb npm-session 7f6390bbda9e4a7b
npm timing npm:load Completed in 16ms
npm timing arborist:ctor Completed in 0ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 25ms
npm timing idealTree:userRequests Completed in 0ms
npm http fetch GET 304 https://registry.npmjs.org/#nestjs%2fcommon 257ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/reflect-metadata 67ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/rxjs 57ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#nestjs%2fcore 85ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#nestjs%2fplatform-express 454ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#nestjs%2fswagger 168ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#types%2fcrypto-js 311ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#types%2fdotenv 136ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#types%2fuuid 165ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/#types%2fxml2js 175ms (from cache)
⸨░░░░░░░░░░░░░░░░░░⸩ ⠧ idealTree:cybersource: http fetch GET 304 https://registry.npmjs.org/#types%2fxml2js 175ms (from cache)

TypeError: Cannot read property 'latest' of undefined

I am trying to install some dependencies using npm install, but I am facing issues with it. I new to npm, so I am not able to figure out what is the problem in it?
Below is my command and its result.
npm install –- save babelify#7.2.0 browserify-middleware#7.0.0
express#4.13.3 react#0.14.3 reactify#1.1.1 browser-sync#2.10.0
babel-preset-react#6.3.13 babel-preset-es2015#6.3.13 browserify#12.0.1
react-dom#0.14.3 watchify#3.6.1
npm WARN package.json ReactJS_BluePrints_Scaffold#1.0.0 No repository field.
npm http GET https://registry.npmjs.org/babelify/7.2.0
npm http GET https://registry.npmjs.org/browserify-middleware/7.0.0
npm http GET https://registry.npmjs.org/express/4.13.3
npm http GET https://registry.npmjs.org/react/0.14.3
npm http GET https://registry.npmjs.org/reactify/1.1.1
npm http GET https://registry.npmjs.org/browser-sync/2.10.0
npm http GET https://registry.npmjs.org/babel-preset-react/6.3.13
npm http GET https://registry.npmjs.org/babel-preset-es2015/6.3.13
npm http GET https://registry.npmjs.org/browserify/12.0.1
npm http GET https://registry.npmjs.org/react-dom/0.14.3
npm http GET https://registry.npmjs.org/watchify/3.6.1
npm http GET https://registry.npmjs.org/%E2%80%93-save
npm http 304 https://registry.npmjs.org/react/0.14.3
npm http 304 https://registry.npmjs.org/express/4.13.3
npm http 304 https://registry.npmjs.org/browserify-middleware/7.0.0
npm http 304 https://registry.npmjs.org/babelify/7.2.0
npm http 304 https://registry.npmjs.org/reactify/1.1.1
npm http 304 https://registry.npmjs.org/browser-sync/2.10.0
npm http 304 https://registry.npmjs.org/babel-preset-react/6.3.13
npm http 304 https://registry.npmjs.org/babel-preset-es2015/6.3.13
npm http 304 https://registry.npmjs.org/browserify/12.0.1
npm http 304 https://registry.npmjs.org/react-dom/0.14.3
npm http 304 https://registry.npmjs.org/watchify/3.6.1
npm http 404 https://registry.npmjs.org/%E2%80%93-save
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/share/npm/lib/cache.js:687:35)
npm ERR! at /usr/share/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:142:7)
npm ERR! at /usr/lib/nodejs/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, 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! System Linux 4.2.0-27-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "–-save" "babelify#7.2.0" "browserify-middleware#7.0.0" "express#4.13.3" "react#0.14.3" "reactify#1.1.1" "browser-sync#2.10.0" "babel-preset-react#6.3.13" "babel-preset-es2015#6.3.13" "browserify#12.0.1" "react-dom#0.14.3" "watchify#3.6.1"
npm ERR! cwd /home/user/reactapp
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! type non_object_property_load
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/user/reactapp/npm-debug.log
npm ERR! not ok code 0
You already got an approved answer but I wanted to add that I ran into a similar issue, receiving the frustrating message (I'm running on Windows):
TypeError: Cannot read property 'latest' of undefined
I tried fixing it by deleting the cache:
npm cache clean
Tried recloning repositories
My issue ended up being that I had two installations of nodejs. I don't know why this caused the error but after I uninstalled both versions and installed a new version, plus then deleted the npm in my appdata, only then did npm work properly again.
The save flag should be --save, not –- save. As the flag is malformed, npm will search for a package named –- (or for –-save since your last edit) .
Try this:
npm install --save babelify#7.2.0 browserify-middleware#7.0.0 express#4.13.3 react#0.14.3 reactify#1.1.1 browser-sync#2.10.0 babel-preset-react#6.3.13 babel-preset-es2015#6.3.13 browserify#12.0.1 react-dom#0.14.3 watchify#3.6.1
Well, I had this same problem and I solved it by installing the latest version of NodeJS. Probably the error is internal in Node.

No generator with the name mean.js installed

Not sure how to fix this:
~  i   master ⭑  mean  yo mean.js  10:02:03 PM
Error mean.js
You don't seem to have a generator with the name mean.js installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].
To see the 0 registered generators run yo with the `--help` option.
I also tried this but still no success:
~  i   master ⭑  mean  npm install -g mean  ➶ 1  10:01:18 PM
npm http GET https://registry.npmjs.org/mean
npm http 200 https://registry.npmjs.org/mean
npm http GET https://registry.npmjs.org/mean/-/mean-1.0.0.tgz
npm http 200 https://registry.npmjs.org/mean/-/mean-1.0.0.tgz
npm http GET https://registry.npmjs.org/coveralls
npm http 200 https://registry.npmjs.org/coveralls
npm http GET https://registry.npmjs.org/coveralls/-/coveralls-2.11.8.tgz
npm http 200 https://registry.npmjs.org/coveralls/-/coveralls-2.11.8.tgz
npm http GET https://registry.npmjs.org/js-yaml/3.0.1
npm http GET https://registry.npmjs.org/lcov-parse/0.0.6
npm http GET https://registry.npmjs.org/request/2.67.0
npm http GET https://registry.npmjs.org/log-driver/1.2.4
npm http GET https://registry.npmjs.org/minimist/1.2.0
npm http 200 https://registry.npmjs.org/request/2.67.0
npm http 200 https://registry.npmjs.org/js-yaml/3.0.1
npm http 200 https://registry.npmjs.org/log-driver/1.2.4
npm http 200 https://registry.npmjs.org/lcov-parse/0.0.6
npm http 200 https://registry.npmjs.org/minimist/1.2.0
npm http GET https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz
npm http GET https://registry.npmjs.org/request/-/request-2.67.0.tgz
npm http GET https://registry.npmjs.org/js-yaml/-/js-yaml-3.0.1.tgz
npm http GET https://registry.npmjs.org/log-driver/-/log-driver-1.2.4.tgz
npm http GET https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.6.tgz
npm http 200 https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz
npm http 200 https://registry.npmjs.org/lcov-parse/-/lcov-parse-0.0.6.tgz
npm http 200 https://registry.npmjs.org/request/-/request-2.67.0.tgz
npm http 200 https://registry.npmjs.org/log-driver/-/log-driver-1.2.4.tgz
npm http 200 https://registry.npmjs.org/js-yaml/-/js-yaml-3.0.1.tgz
npm http GET https://registry.npmjs.org/bl
npm http GET https://registry.npmjs.org/caseless
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/extend
npm http GET https://registry.npmjs.org/form-data
npm http GET https://registry.npmjs.org/mime-types
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/tough-cookie
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/aws-sign2
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/stringstream
npm http GET https://registry.npmjs.org/combined-stream
npm http GET https://registry.npmjs.org/is-typedarray
npm http GET https://registry.npmjs.org/isstream
npm http GET https://registry.npmjs.org/har-validator
npm http GET https://registry.npmjs.org/argparse
npm http GET https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/extend
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/caseless
npm http 304 https://registry.npmjs.org/bl
npm http 304 https://registry.npmjs.org/mime-types
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/tough-cookie
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/qs/-/qs-5.2.0.tgz
npm http 304 https://registry.npmjs.org/aws-sign2
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/stringstream
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/is-typedarray
npm http 304 https://registry.npmjs.org/har-validator
npm http 304 https://registry.npmjs.org/isstream
npm http 200 https://registry.npmjs.org/argparse
npm http 200 https://registry.npmjs.org/qs/-/qs-5.2.0.tgz
npm WARN engine hawk#3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"v0.10.24","npm":"1.3.21"})
npm http 200 https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/delayed-stream
npm http GET https://registry.npmjs.org/mime-db
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/readable-stream
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/sshpk
npm http GET https://registry.npmjs.org/jsprim
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/is-my-json-valid
npm http GET https://registry.npmjs.org/pinkie-promise
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/underscore.string
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/delayed-stream
npm http 304 https://registry.npmjs.org/mime-db
npm http 304 https://registry.npmjs.org/readable-stream
npm http 304 https://registry.npmjs.org/sshpk
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/jsprim
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/extsprintf/1.0.2
npm http GET https://registry.npmjs.org/json-schema/0.2.2
npm http GET https://registry.npmjs.org/verror/1.3.6
npm http GET https://registry.npmjs.org/core-util-is
npm http GET https://registry.npmjs.org/inherits
npm http GET https://registry.npmjs.org/string_decoder
npm http GET https://registry.npmjs.org/isarray
npm http GET https://registry.npmjs.org/process-nextick-args
npm http GET https://registry.npmjs.org/util-deprecate
npm http GET https://registry.npmjs.org/tweetnacl
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/dashdash
npm http GET https://registry.npmjs.org/jsbn
npm http GET https://registry.npmjs.org/jodid25519
npm http GET https://registry.npmjs.org/ecc-jsbn
npm http 304 https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/is-my-json-valid
npm http 304 https://registry.npmjs.org/pinkie-promise
npm http GET https://registry.npmjs.org/pinkie
npm http GET https://registry.npmjs.org/escape-string-regexp
npm http GET https://registry.npmjs.org/strip-ansi
npm http GET https://registry.npmjs.org/ansi-styles
npm http GET https://registry.npmjs.org/has-ansi
npm http GET https://registry.npmjs.org/supports-color
npm http GET https://registry.npmjs.org/graceful-readlink
npm http GET https://registry.npmjs.org/generate-object-property
npm http GET https://registry.npmjs.org/xtend
npm http GET https://registry.npmjs.org/jsonpointer/2.0.0
npm http GET https://registry.npmjs.org/generate-function
npm http 304 https://registry.npmjs.org/cryptiles
npm http 200 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/verror/1.3.6
npm http 304 https://registry.npmjs.org/extsprintf/1.0.2
npm http 304 https://registry.npmjs.org/json-schema/0.2.2
npm WARN engine cryptiles#2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"v0.10.24","npm":"1.3.21"})
npm WARN engine boom#2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"v0.10.24","npm":"1.3.21"})
npm WARN engine hoek#2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"v0.10.24","npm":"1.3.21"})
npm http 304 https://registry.npmjs.org/core-util-is
npm http 304 https://registry.npmjs.org/isarray
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/string_decoder
npm http 304 https://registry.npmjs.org/util-deprecate
npm http 304 https://registry.npmjs.org/process-nextick-args
npm http 304 https://registry.npmjs.org/asn1
npm http 304 https://registry.npmjs.org/tweetnacl
npm http 304 https://registry.npmjs.org/dashdash
npm http 304 https://registry.npmjs.org/jsbn
npm http 304 https://registry.npmjs.org/ecc-jsbn
npm http 304 https://registry.npmjs.org/jodid25519
npm http 304 https://registry.npmjs.org/strip-ansi
npm http 304 https://registry.npmjs.org/ansi-styles
npm http 304 https://registry.npmjs.org/escape-string-regexp
npm http 304 https://registry.npmjs.org/pinkie
npm http 200 https://registry.npmjs.org/underscore.string
npm http 304 https://registry.npmjs.org/generate-object-property
npm http 304 https://registry.npmjs.org/has-ansi
npm http 304 https://registry.npmjs.org/supports-color
npm http 304 https://registry.npmjs.org/graceful-readlink
npm http GET https://registry.npmjs.org/ansi-regex
npm http GET https://registry.npmjs.org/color-convert
npm http 304 https://registry.npmjs.org/xtend
npm http 304 https://registry.npmjs.org/generate-function
npm http 304 https://registry.npmjs.org/jsonpointer/2.0.0
npm http GET https://registry.npmjs.org/is-property
npm http 304 https://registry.npmjs.org/ansi-regex
npm http 304 https://registry.npmjs.org/color-convert
npm http 304 https://registry.npmjs.org/is-property
npm WARN unmet dependency /usr/local/lib/node_modules/nodebot-workshop/node_modules/johnny-five/node_modules/temporal requires es6-shim#'latest' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/nodebot-workshop/node_modules/johnny-five/node_modules/es6-shim,
npm WARN unmet dependency which is version 0.32.0
npm WARN unmet dependency /usr/local/lib/node_modules/nodebot-workshop/node_modules/johnny-five/node_modules/galileo-io requires es6-shim#'latest' but will load
npm WARN unmet dependency /usr/local/lib/node_modules/nodebot-workshop/node_modules/johnny-five/node_modules/es6-shim,
npm WARN unmet dependency which is version 0.32.0
mean#1.0.0 /usr/local/lib/node_modules/mean
└── coveralls#2.11.8 (lcov-parse#0.0.6, minimist#1.2.0, log-driver#1.2.4, js-yaml#3.0.1, request#2.67.0)
I am working on a tutorial which requires me to perform this task as the image shows:
Solved the problem by the following command:
npm install -g generator-meanjs
yo meanjs

node-gyp build errors with Python version 27

I am trying to build an expressJs app have been trying to install "restify" to make rest calls. For some reason, the node-gyp build is throwing me an error:
Here are the versions I have:
1. node: v0.10.27
2. npm: 1.4.8
3. express: 4.0.0
4. python: 27
I have Windows 7 enterprise 64 bit Operating system.
Here is the error when I am trying to install restify, I have seen similar errors when I am trying to install nodemon and several other node module packages:
$ npm install restify
npm http GET https://registry.npmjs.org/restify
npm http 304 https://registry.npmjs.org/restify
npm http GET https://registry.npmjs.org/bunyan
npm http GET https://registry.npmjs.org/backoff
npm http GET https://registry.npmjs.org/escape-regexp-component
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/assert-plus
npm http GET https://registry.npmjs.org/keep-alive-agent
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/negotiator
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/dtrace-provider
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/verror
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/formidable
npm http GET https://registry.npmjs.org/deep-equal
npm http GET https://registry.npmjs.org/spdy
npm http 304 https://registry.npmjs.org/bunyan
npm http 304 https://registry.npmjs.org/assert-plus
npm http 304 https://registry.npmjs.org/backoff
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/negotiator
npm http 304 https://registry.npmjs.org/escape-regexp-component
npm http 304 https://registry.npmjs.org/csv
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/keep-alive-agent
npm http 304 https://registry.npmjs.org/once
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/semver
npm http 304 https://registry.npmjs.org/deep-equal
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/dtrace-provider
npm http 304 https://registry.npmjs.org/verror
npm http 304 https://registry.npmjs.org/formidable
npm http 304 https://registry.npmjs.org/spdy
npm http GET https://registry.npmjs.org/asn1
npm http GET https://registry.npmjs.org/ctype
npm http GET https://registry.npmjs.org/extsprintf
npm http 304 https://registry.npmjs.org/ctype
> dtrace-provider#0.2.8 install c:\apps\..\..\node_modules\restify\no
de_modules\dtrace-provider
> node-gyp rebuild
c:\apps\...\..\restify\node_modules\dtrace-provider>node
**"c:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\n
ode-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. [c:\apps\trendy\trendy_ui\node_modules\restify\node_mo
dules\dtrace-provider\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.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:807:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
les\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd c:\apps\trendy\trendy_ui\node_modules\restify\node_modules\dtrace-p
rovider
gyp ERR! node -v v0.10.27
gyp ERR! node-gyp -v v0.13.0
gyp ERR! not ok
npm http 304 https://registry.npmjs.org/asn1
npm http 304 https://registry.npmjs.org/extsprintf
npm http GET https://registry.npmjs.org/mv
npm http 304 https://registry.npmjs.org/mv
npm WARN optional dep failed, continuing dtrace-provider#0.2.8
restify#2.7.0 node_modules\restify
├── assert-plus#0.1.5
├── once#1.3.0
├── tunnel-agent#0.4.0
├── deep-equal#0.0.0
├── mime#1.2.11
├── qs#0.6.6
├── escape-regexp-component#1.0.2
├── keep-alive-agent#0.0.1
├── lru-cache#2.3.1
├── negotiator#0.3.0
├── node-uuid#1.4.1
├── semver#2.2.1
├── backoff#2.3.0
├── verror#1.3.7 (extsprintf#1.0.2)
├── spdy#1.19.3
├── http-signature#0.10.0 (assert-plus#0.1.2, asn1#0.1.11, ctype#0.5.2)
├── formidable#1.0.14
├── bunyan#0.22.1 (mv#0.0.5)
└── csv#0.3.7
Am I using wrong version combinations of node, npm and express? Any help would be appreciated.
I tried reverting to Python33, then I get an error message stating that node-gyp only supports python versions between2.5 - 3.
Thanks
The error is not related to the python version.
node-gyp has lots of prerequisites in order to run on windows and requires a few installations. follow instructions here.

Cannot install lintroller

Here is a command I am running and it's output with the error message:
$ npm install lintroller
npm http GET https://registry.npmjs.org/lintroller
npm http 304 https://registry.npmjs.org/lintroller
npm http GET https://registry.npmjs.org/esprima
npm http GET https://registry.npmjs.org/jshint
npm http GET https://registry.npmjs.org/jslint
npm http GET https://registry.npmjs.org/w3cjs
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/jasmine-node
npm http 304 https://registry.npmjs.org/jshint
npm http 304 https://registry.npmjs.org/jslint
npm http 304 https://registry.npmjs.org/esprima
npm http 304 https://registry.npmjs.org/w3cjs
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/jasmine-node
npm http GET https://registry.npmjs.org/superagent
npm http GET https://registry.npmjs.org/nopt
npm http GET https://registry.npmjs.org/shelljs
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/cli
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/console-browserify
npm http GET https://registry.npmjs.org/coffee-script
npm http GET https://registry.npmjs.org/jasmine-reporters
npm http GET https://registry.npmjs.org/jasmine-growl-reporter
npm http GET https://registry.npmjs.org/requirejs
npm http GET https://registry.npmjs.org/walkdir
npm http GET https://registry.npmjs.org/underscore
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/gaze
npm http 304 https://registry.npmjs.org/shelljs
npm http 304 https://registry.npmjs.org/nopt
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/cli
npm http 304 https://registry.npmjs.org/superagent
npm http GET https://registry.npmjs.org/abbrev
npm http GET https://registry.npmjs.org/qs/0.6.5
npm http GET https://registry.npmjs.org/formidable/1.0.14
npm http GET https://registry.npmjs.org/mime/1.2.5
npm http GET https://registry.npmjs.org/emitter-component/1.0.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/cookiejar/1.3.0
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/reduce
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/coffee-script
npm http 304 https://registry.npmjs.org/console-browserify
npm http 304 https://registry.npmjs.org/jasmine-reporters
npm http 304 https://registry.npmjs.org/jasmine-growl-reporter
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/requirejs
npm http 304 https://registry.npmjs.org/walkdir
npm http 304 https://registry.npmjs.org/underscore
npm http 304 https://registry.npmjs.org/gaze
npm http 304 https://registry.npmjs.org/mkdirp
npm http 304 https://registry.npmjs.org/qs/0.6.5
npm http 304 https://registry.npmjs.org/formidable/1.0.14
npm http 304 https://registry.npmjs.org/abbrev
npm http 304 https://registry.npmjs.org/mime/1.2.5
npm http GET https://registry.npmjs.org/growl
npm http 304 https://registry.npmjs.org/emitter-component/1.0.0
npm http GET https://registry.npmjs.org/fileset
npm http GET https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm WARN package.json methods#0.0.1 No README.md file found!
npm http 304 https://registry.npmjs.org/cookiejar/1.3.0
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/reduce
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters'
npm ERR! error rolling back lintroller#2.3.3 { [Error: ENOTEMPTY, rmdir '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters' }
npm ERR! Error: No compatible version found: reduce#'RedVentures/reduce#346d59'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.2"]
npm ERR! at installTargetsError (/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/lib/cache.js:553:10)
npm ERR! at /opt/boxen/nvm/v0.8.8/lib/node_modules/npm/lib/cache.js:477:15
npm ERR! at saved (/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at /opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:220:7
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, 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! System Darwin 12.3.0
npm ERR! command "/opt/boxen/nvm/v0.8.8/bin/node" "/opt/boxen/nvm/v0.8.8/bin/npm" "install" "lintroller"
npm ERR! cwd /Users/richard.knop/src/statements-dashboard
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
npm http 304 https://registry.npmjs.org/lru-cache
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/growl
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/fileset
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/glob
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/glob
npm http 304 https://registry.npmjs.org/sigmund
npm http 304 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/inherits
npm http 304 https://registry.npmjs.org/inherits
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/richard.knop/src/statements-dashboard/npm-debug.log
npm ERR! not ok code 0
And error message:
npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters'
npm ERR! error rolling back lintroller#2.3.3 { [Error: ENOTEMPTY, rmdir '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: '/Users/richard.knop/src/statements-dashboard/node_modules/lintroller/node_modules/jasmine-node/node_modules/jasmine-reporters' }
npm ERR! Error: No compatible version found: reduce#'RedVentures/reduce#346d59'
npm ERR! Valid install targets:
npm ERR! ["0.1.0","0.1.2"]
npm ERR! at installTargetsError (/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/lib/cache.js:553:10)
npm ERR! at /opt/boxen/nvm/v0.8.8/lib/node_modules/npm/lib/cache.js:477:15
npm ERR! at saved (/opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/npm-registry-client/lib/get.js:138:7)
npm ERR! at /opt/boxen/nvm/v0.8.8/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:220:7
npm ERR! at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, 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! System Darwin 12.3.0
npm ERR! command "/opt/boxen/nvm/v0.8.8/bin/node" "/opt/boxen/nvm/v0.8.8/bin/npm" "install" "lintroller"
npm ERR! cwd /Users/richard.knop/src/statements-dashboard
npm ERR! node -v v0.8.8
npm ERR! npm -v 1.1.59
Any ideas?