Closed shaikatzir closed 8 years ago
@shaikatzir Have you run npm install? Give me detailed log of npm install, also your node version.
verbose cli [ 'node', '/usr/bin/npm', 'install', 'excel-parser' ]
info using npm@1.1.4
info using node@v0.6.12
verbose config file /home/ubuntu/.npmrc
verbose config file /usr/etc/npmrc
verbose config file /usr/share/npm/npmrc
verbose caching /home/ubuntu/neo4jDonde/package.json
verbose loadDefaults NodeNeo4jTemplate@0.0.1
verbose caching /home/ubuntu/neo4jDonde/node_modules/async/package.json
verbose caching /home/ubuntu/neo4jDonde/node_modules/node-dev/package.json
verbose loadDefaults node-dev@2.0.2
verbose caching /home/ubuntu/neo4jDonde/node_modules/forever/package.json
verbose caching /home/ubuntu/neo4jDonde/node_modules/express/package.json
verbose loadDefaults express@3.2.6
verbose caching /home/ubuntu/neo4jDonde/node_modules/jade/package.json
verbose loadDefaults jade@0.26.3
verbose caching /home/ubuntu/neo4jDonde/node_modules/neo4j/package.json
verbose loadDefaults neo4j@0.2.20
verbose from cache /home/ubuntu/neo4jDonde/package.json
verbose readDependencies: using package.json deps
verbose cache add [ 'excel-parser', null ]
silly cache add: name, spec, args [ undefined, 'excel-parser', [ 'excel-parser', null ] ]
verbose parsed url { pathname: 'excel-parser',
verbose parsed url path: 'excel-parser',
verbose parsed url href: 'excel-parser' }
verbose addNamed [ 'excel-parser', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'excel-parser', '', false ]
verbose raw, before any munging excel-parser
verbose url resolving [ 'https://registry.npmjs.org/', './excel-parser' ]
verbose url resolved https://registry.npmjs.org/excel-parser
http GET https://registry.npmjs.org/excel-parser
ERR! Error: failed to fetch from registry: excel-parser
ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18)
ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
ERR! at Request.
I can see that you have 0.6.* version of node. Please upgrade to 0.10.* (latest stable version)
On Mon, Jan 20, 2014 at 12:52 PM, shaikatzir notifications@github.comwrote:
verbose cli [ 'node', '/usr/bin/npm', 'install', 'excel-parser' ] info using npm@1.1.4 info using node@v0.6.12 verbose config file /home/ubuntu/.npmrc verbose config file /usr/etc/npmrc verbose config file /usr/share/npm/npmrc verbose caching /home/ubuntu/neo4jDonde/package.json verbose loadDefaults NodeNeo4jTemplate@0.0.1 verbose caching /home/ubuntu/neo4jDonde/node_modules/async/package.json verbose caching /home/ubuntu/neo4jDonde/node_modules/node-dev/package.json verbose loadDefaults node-dev@2.0.2 verbose caching /home/ubuntu/neo4jDonde/node_modules/forever/package.json verbose caching /home/ubuntu/neo4jDonde/node_modules/express/package.json verbose loadDefaults express@3.2.6 verbose caching /home/ubuntu/neo4jDonde/node_modules/jade/package.json verbose loadDefaults jade@0.26.3 verbose caching /home/ubuntu/neo4jDonde/node_modules/neo4j/package.json verbose loadDefaults neo4j@0.2.20 verbose from cache /home/ubuntu/neo4jDonde/package.json verbose readDependencies: using package.json deps verbose cache add [ 'excel-parser', null ] silly cache add: name, spec, args [ undefined, 'excel-parser', [ 'excel-parser', null ] ] verbose parsed url { pathname: 'excel-parser', verbose parsed url path: 'excel-parser', verbose parsed url href: 'excel-parser' } verbose addNamed [ 'excel-parser', '' ] verbose addNamed [ null, '' ] silly name, range, hasData [ 'excel-parser', '', false ] verbose raw, before any munging excel-parser verbose url resolving [ 'https://registry.npmjs.org/', './excel-parser' ] verbose url resolved https://registry.npmjs.org/excel-parser http GET https://registry.npmjs.org/excel-parser ERR! Error: failed to fetch from registry: excel-parser ERR! at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12 ERR! at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9) ERR! at Request._callback (/usr/share/npm/lib/utils/npm-registry-client/request.js:136:18) ERR! at Request.callback (/usr/lib/nodejs/request/main.js:119:22) ERR! at Request. (/usr/lib/nodejs/request/main.js:212:58) ERR! at Request.emit (events.js:88:20) ERR! at ClientRequest. (/usr/lib/nodejs/request/main.js:412:12) ERR! at ClientRequest.emit (events.js:67:17) ERR! at HTTPParser.onIncoming (http.js:1261:11) ERR! at HTTPParser.onHeadersComplete (http.js:102:31) ERR! You may report this log at: ERR! http://bugs.debian.org/npm ERR! or use ERR! reportbug --attach /home/ubuntu/neo4jDonde/npm-debug.log npm ERR! ERR! System Linux 3.2.0-40-virtual ERR! command "node" "/usr/bin/npm" "install" "excel-parser" ERR! cwd /home/ubuntu/neo4jDonde
— Reply to this email directly or view it on GitHubhttps://github.com/vxtindia/excel-parser/issues/11#issuecomment-32738614 .
Regards, ~ Shekhar Thawali
Hi,
I upgraded node.
Now the module can be initialized, but when trying to parse, I get the following error : (no other errors in the log..)
Error: Command failed: Error: Command failed: at ChildProcess.exithandler (child_process.js:637:15) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:735:16) at Process.ChildProcess._handle.onexit (child_process.js:802:5)
Make sure you are installing python and other packages listed here, https://github.com/vxtindia/excel-parser/wiki/Package-installation
assuming its fixed @shaikatzir
I used the module on my ubuntu laptop and it worked ok, but when trying to run it on my ubuntu server I get:
TypeError: Object #
both machines are ubuntu 12.04 64 bit