Worlize/WebSocket-Node — Issue #34: 'make' is not recognized as an internal or external command,
Author: shotlom
Created: 2012-02-13 03:26:20+00:00
State: open

Hi,

Is it the case there there is a reliance on the Linux 'make' command? I'm running the new version of node.js for windows which works fine, but the install of websocket has an error.

Command Prompt:
>npm install websocket
npm http GET https://registry.npmjs.org/websocket
npm http 200 https://registry.npmjs.org/websocket
npm http GET https://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz
npm http 200 https://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz

> websocket@1.0.4 preinstall C:\Users\xyz
> make validator

npm ERR! error installing websocket@1.0.4
npm ERR! websocket@1.0.4 preinstall: `make validator`
npm ERR! `cmd "/c" "make validator"` failed with 1
npm ERR!
npm ERR! Failed at the websocket@1.0.4 preinstall script.
npm ERR! This is most likely a problem with the websocket package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! make validator
npm ERR! You can get their info via:
npm ERR! npm owner ls websocket
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\NodeJS\\\\node.exe" "C:\\Program Files\\NodeJS\\node_modules\\npm\\bin\\npm-cli.js" "install" "websocket"
npm ERR! cwd C:\Users\xyz
npm ERR! node -v v0.6.7
npm ERR! npm -v 1.1.0-beta-10
npm ERR! code ELIFECYCLE
npm ERR! message websocket@1.0.4 preinstall: `make validator`
npm ERR! message `cmd "/c" "make validator"` failed with 1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\xyz
npm not ok

LOG FILE:

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files\\NodeJS\\\\node.exe',
verbose cli 'C:\\Program Files\\NodeJS\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli 'websocket' ]
info using npm@1.1.0-beta-10
info using node@v0.6.7
verbose config file C:\Users\User\.npmrc
verbose config file C:\Program Files\NodeJS\etc\npmrc
verbose config file C:\Program Files\NodeJS\node_modules\npm\npmrc
verbose mkdir done: C:\Users\User\AppData\Roaming\npm 755
verbose mkdir done: C:\Users\User 755
verbose caching C:\Users\User\package.json
verbose loadDefaults application-name@0.0.1
verbose caching C:\Users\User\node_modules\mime\package.json
verbose loadDefaults mime@1.2.4
verbose caching C:\Users\User\node_modules\net\package.json
verbose loadDefaults net@1.0.0
verbose caching C:\Users\User\node_modules\ajax\package.json
verbose loadDefaults ajax@0.0.1
verbose caching C:\Users\User\node_modules\express\package.json
verbose loadDefaults express@2.5.5
verbose caching C:\Users\User\node_modules\webservice\package.json
verbose loadDefaults webservice@0.5.1
verbose caching C:\Users\User\node_modules\jade\package.json
verbose loadDefaults jade@0.20.0
verbose caching C:\Users\User\node_modules\socket.io\package.json
verbose loadDefaults socket.io@0.8.7
verbose caching C:\Users\User\node_modules\mongoose\package.json
verbose loadDefaults mongoose@2.4.10
verbose from cache C:\Users\User\package.json
verbose into C:\Users\User [ 'websocket' ]
verbose cache add websocket
verbose cache add [ 'websocket', null ]
silly cache add: name, spec, args [ undefined, 'websocket', [ 'websocket', null ] ]
verbose parsed url { pathname: 'websocket', path: 'websocket', href: 'websocket' }
verbose addNamed [ 'websocket', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'websocket', '', false ]
verbose raw, before any munging websocket
verbose url resolving [ 'https://registry.npmjs.org/', './websocket' ]
verbose url resolved https://registry.npmjs.org/websocket
http GET https://registry.npmjs.org/websocket
http 200 https://registry.npmjs.org/websocket
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"45ABNZFQN6SUA7INPLX5GT9VG"',
silly get cb date: 'Mon, 13 Feb 2012 03:16:30 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '36417' } ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User\AppData\Roaming\npm-cache\websocket'
verbose mkdir done: C:\Users\User\AppData\Roaming\npm-cache\websocket 755
silly name, range, hasData 2 [ 'websocket', '', true ]
silly versions [ 'websocket',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.0.3',
silly versions '0.0.4',
silly versions '0.0.5',
silly versions '0.0.6',
silly versions '0.0.7',
silly versions '0.0.8',
silly versions '0.0.9',
silly versions '0.0.10',
silly versions '0.0.11',
silly versions '0.0.12',
silly versions '0.0.13',
silly versions '0.0.14',
silly versions '0.0.15',
silly versions '0.0.16',
silly versions '0.0.17',
silly versions '0.0.18',
silly versions '0.0.19',
silly versions '0.0.20',
silly versions '1.0.0',
silly versions '1.0.1',
silly versions '1.0.2',
silly versions '1.0.3',
silly versions '1.0.4' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.15-win32-ia32-6.1.7600',
verbose bin dist { shasum: '1ceb545541dce5531c12187b80de902718a6afd2',
verbose bin dist tarball: 'http://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz',
verbose addRemoteTarball '1ceb545541dce5531c12187b80de902718a6afd2' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549'
verbose mkdir done: C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549 755
verbose fetch to C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\tmp.tgz
verbose mkdir done: C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549 755
http GET https://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz
http 200 https://registry.npmjs.org/websocket/-/websocket-1.0.4.tgz
silly updated sha bytes 40960
silly updated sha bytes 34759
info shasum 1ceb545541dce5531c12187b80de902718a6afd2
info shasum C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\___package.npm'
verbose mkdir done: C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\___package.npm\package
verbose rm'ed C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package
verbose renamed [ 'C:\\Users\\User~1.CAN\\AppData\\Local\\Temp\\npm-1329102991610\\1329102991610-0.07118203863501549\\___package.npm\\package',
verbose renamed 'C:\\Users\\User~1.CAN\\AppData\\Local\\Temp\\npm-1329102991610\\1329102991610-0.07118203863501549\\package' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\User~1.CAN\\AppData\\Local\\Temp\\npm-1329102991610\\1329102991610-0.07118203863501549\\package\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package\package.json
verbose loadDefaults websocket@1.0.4
verbose tarball contents [ 'package', 'tmp.tgz' ]
verbose from cache C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package\package.json
verbose pack C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package
verbose pack C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package.tgz
silly makeList C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package
verbose caching C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package\example\whiteboard\package.json
verbose loadDefaults websocket-whiteboard@0.0.1
silly dir, dirLen [ 'C:\\Users\\User~1.CAN\\AppData\\Local\\Temp\\npm-1329102991610\\1329102991610-0.07118203863501549\\package\\example\\whiteboard',
silly dir, dirLen 120 ]
silly dir, dirLen [ 'C:\\Users\\User~1.CAN\\AppData\\Local\\Temp\\npm-1329102991610\\1329102991610-0.07118203863501549\\package',
silly dir, dirLen 101 ]
verbose tarball C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package.tgz
verbose parent C:\Users\User~1.CAN\AppData\Local\Temp\npm-1329102991610\1329102991610-0.07118203863501549\package
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\___package.npm'
verbose mkdir done: C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\___package.npm\package
verbose rm'ed C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package
verbose renamed [ 'C:\\Users\\User\\AppData\\Roaming\\npm-cache\\websocket\\1.0.4\\___package.npm\\package',
verbose renamed 'C:\\Users\\User\\AppData\\Roaming\\npm-cache\\websocket\\1.0.4\\package' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\User\\AppData\\Roaming\\npm-cache\\websocket\\1.0.4\\package\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package\package.json
verbose loadDefaults websocket@1.0.4
silly updated sha bytes 40960
silly updated sha bytes 34654
info shasum 1d89b807f2524a6cfacd152271d1bbf5f369cba6
info shasum C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package.tgz
verbose from cache C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package\package.json
verbose chmod C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package.tgz 644
silly skipping chown for windows C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package.tgz
silly resolved [ { name: 'websocket',
silly resolved description: 'Websocket Client & Server Library tracking the latest protocol drafts from the IETF.',
silly resolved keywords: [ 'websocket', 'socket', 'networking', 'comet', 'push' ],
silly resolved author: { name: 'Brian McKelvey', email: 'brian@worlize.com' },
silly resolved version: '1.0.4',
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/Worlize/WebSocket-Node.git' },
silly resolved engines: { node: '>=0.4.7' },
silly resolved scripts: { preinstall: 'make validator' },
silly resolved main: 'index',
silly resolved directories: { lib: './lib' },
silly resolved _id: 'websocket@1.0.4',
silly resolved dependencies: {},
silly resolved devDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-beta-10',
silly resolved _nodeVersion: 'v0.6.7',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: '1d89b807f2524a6cfacd152271d1bbf5f369cba6' } } ]
info into C:\Users\User websocket@1.0.4
info installOne websocket@1.0.4
info unbuild C:\Users\User\node_modules\websocket
verbose from cache C:\Users\User\AppData\Roaming\npm-cache\websocket\1.0.4\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\User\node_modules\___websocket.npm'
verbose mkdir done: C:\Users\User\node_modules\___websocket.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\User\node_modules\websocket
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\User\node_modules\___websocket.npm\package
verbose rm'ed C:\Users\User\node_modules\websocket
verbose renamed [ 'C:\\Users\\User\\node_modules\\___websocket.npm\\package',
verbose renamed 'C:\\Users\\User\\node_modules\\websocket' ]
verbose has wscript [ undefined,
verbose has wscript { file: 'C:\\Users\\User\\node_modules\\websocket\\package.json',
verbose has wscript contributors: false,
verbose has wscript serverjs: false,
verbose has wscript wscript: true } ]
verbose caching C:\Users\User\node_modules\websocket\package.json
verbose loadDefaults websocket@1.0.4
info preinstall websocket@1.0.4
verbose unsafe-perm in lifecycle true
silly exec cmd "/c" "make validator"
silly spawning [ 'cmd',
silly spawning [ '/c', 'make validator' ],
silly spawning 'C:\\Users\\User\\node_modules\\websocket' ]
info websocket@1.0.4 Failed to exec preinstall script
ERR! error installing websocket@1.0.4
info unbuild C:\Users\User\node_modules\websocket
verbose from cache C:\Users\User\node_modules\websocket\package.json
info preuninstall websocket@1.0.4
info uninstall websocket@1.0.4
verbose unbuild websocket@1.0.4 [ true,
verbose unbuild websocket@1.0.4 'C:\\Users\\User\\node_modules',
verbose unbuild websocket@1.0.4 'C:\\Users\\User\\node_modules' ]
info postuninstall websocket@1.0.4
verbose installOne cb websocket@1.0.4
ERR! websocket@1.0.4 preinstall: `make validator`
ERR! `cmd "/c" "make validator"` failed with 1
ERR!
ERR! Failed at the websocket@1.0.4 preinstall script.
ERR! This is most likely a problem with the websocket package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! make validator
ERR! You can get their info via:
ERR! npm owner ls websocket
ERR! There is likely additional logging output above.
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\\Program Files\\NodeJS\\\\node.exe" "C:\\Program Files\\NodeJS\\node_modules\\npm\\bin\\npm-cli.js" "install" "websocket"
ERR! cwd C:\Users\User
ERR! node -v v0.6.7
ERR! npm -v 1.1.0-beta-10
ERR! code ELIFECYCLE
ERR! message websocket@1.0.4 preinstall: `make validator`
ERR! message `cmd "/c" "make validator"` failed with 1
verbose exit [ 1, true ]