Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #231

Closed
jjp91 opened this issue Nov 25, 2013 · 6 comments
Closed

Installation failed #231

jjp91 opened this issue Nov 25, 2013 · 6 comments

Comments

@jjp91
Copy link

jjp91 commented Nov 25, 2013

Linux version 3.2.0-56-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) 32bits

Installation fails with error message

sqlite3@2.1.19 install /home/jj/var/ProjetStyle/node/node_modules/sqlite3
node build.js

[sqlite3]: Checking for http://node-sqlite3.s3.amazonaws.com/Release/node_sqlite3-v2.1.a-node-v11-linux-ia32.tar.gz
[sqlite3]: Error: ENOENT, open '/home/jj/tmp/node-sqlite3-Release/node_sqlite3-v2.1.a-node-v11-linux-ia32.tar.gz'
npm ERR! sqlite3@2.1.19 install: node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@2.1.19 install script.
npm ERR! This is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 3.2.0-56-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "sqlite3"
npm ERR! cwd /home/jj/var/ProjetStyle/node
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.14
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/jj/var/ProjetStyle/node/npm-debug.log
npm ERR! not ok code 0

In fact during the copy, the directory "/home/jj/tmp/node-sqlite3-Release" doesn't exists

Last part of the npm-debug.log file
581 silly lockFile da59202d--commander-node-modules-keypress tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander/node_modules/keypress
582 silly lockFile da59202d--commander-node-modules-keypress tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander/node_modules/keypress
583 silly lockFile 3417a558-j-npm-keypress-0-1-0-package-tgz tar:///home/jj/.npm/keypress/0.1.0/package.tgz
584 silly lockFile 3417a558-j-npm-keypress-0-1-0-package-tgz tar:///home/jj/.npm/keypress/0.1.0/package.tgz
585 info preinstall keypress@0.1.0
586 verbose readDependencies using package.json deps
587 verbose readDependencies using package.json deps
588 silly resolved []
589 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander/node_modules/keypress
590 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander/node_modules/keypress
591 verbose linkStuff [ false,
591 verbose linkStuff false,
591 verbose linkStuff false,
591 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander/node_modules' ]
592 info linkStuff keypress@0.1.0
593 verbose linkBins keypress@0.1.0
594 verbose linkMans keypress@0.1.0
595 verbose rebuildBundles keypress@0.1.0
596 info install keypress@0.1.0
597 info postinstall keypress@0.1.0
598 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander
599 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/commander
600 verbose linkStuff [ false,
600 verbose linkStuff false,
600 verbose linkStuff false,
600 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules' ]
601 info linkStuff commander@1.1.1
602 verbose linkBins commander@1.1.1
603 verbose linkMans commander@1.1.1
604 verbose rebuildBundles commander@1.1.1
605 verbose rebuildBundles [ 'keypress' ]
606 info install commander@1.1.1
607 info postinstall commander@1.1.1
608 http 304 https://registry.npmjs.org/inherits
609 silly registry.get cb [ 304,
609 silly registry.get { server: 'CouchDB/1.3.1 (Erlang OTP/R15B03)',
609 silly registry.get etag: '"3BB9CXXI1GQW1OTCNLR8KNUQW"',
609 silly registry.get date: 'Mon, 25 Nov 2013 16:09:21 GMT',
609 silly registry.get 'content-length': '0' } ]
610 verbose etag inherits from cache
611 silly addNameRange number 2 { name: 'inherits', range: '>=2.0.0-0 <3.0.0-0', hasData: true }
612 silly addNameRange versions [ 'inherits', [ '1.0.0', '2.0.0', '2.0.1' ] ]
613 verbose addNamed [ 'inherits', '2.0.1' ]
614 verbose addNamed [ '2.0.1', '2.0.1' ]
615 silly lockFile 2b2e8f1b-inherits-2-0-1 inherits@2.0.1
616 verbose lock inherits@2.0.1 /home/jj/.npm/2b2e8f1b-inherits-2-0-1.lock
617 silly lockFile 2b2e8f1b-inherits-2-0-1 inherits@2.0.1
618 silly lockFile 2b2e8f1b-inherits-2-0-1 inherits@2.0.1
619 silly lockFile 1f7ff4de-inherits-2 inherits@2
620 silly lockFile 1f7ff4de-inherits-2 inherits@2
621 http 304 https://registry.npmjs.org/block-stream
622 silly registry.get cb [ 304,
622 silly registry.get { server: 'CouchDB/1.3.1 (Erlang OTP/R15B03)',
622 silly registry.get etag: '"3BGWNK3TS2ITZ70L2TC5ORDY0"',
622 silly registry.get date: 'Mon, 25 Nov 2013 16:09:21 GMT',
622 silly registry.get 'content-length': '0' } ]
623 verbose etag block-stream from cache
624 silly addNameRange number 2 { name: 'block-stream', range: '', hasData: true }
625 silly addNameRange versions [ 'block-stream',
625 silly addNameRange [ '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7' ] ]
626 verbose addNamed [ 'block-stream', '0.0.7' ]
627 verbose addNamed [ '0.0.7', '0.0.7' ]
628 silly lockFile 540366e0-block-stream-0-0-7 block-stream@0.0.7
629 verbose lock block-stream@0.0.7 /home/jj/.npm/540366e0-block-stream-0-0-7.lock
630 silly lockFile 540366e0-block-stream-0-0-7 block-stream@0.0.7
631 silly lockFile 540366e0-block-stream-0-0-7 block-stream@0.0.7
632 silly lockFile 28c964d9-block-stream block-stream@

633 silly lockFile 28c964d9-block-stream block-stream@*
634 silly resolved [ { name: 'inherits',
634 silly resolved description: 'Browser-friendly inheritance fully compatible with standard node.js inherits()',
634 silly resolved version: '2.0.1',
634 silly resolved keywords:
634 silly resolved [ 'inheritance',
634 silly resolved 'class',
634 silly resolved 'klass',
634 silly resolved 'oop',
634 silly resolved 'object-oriented',
634 silly resolved 'inherits',
634 silly resolved 'browser',
634 silly resolved 'browserify' ],
634 silly resolved main: './inherits.js',
634 silly resolved browser: './inherits_browser.js',
634 silly resolved repository: { type: 'git', url: 'git://github.com/isaacs/inherits' },
634 silly resolved license: 'ISC',
634 silly resolved scripts: { test: 'node test' },
634 silly resolved readme: 'Browser-friendly inheritance fully compatible with standard node.js\ninherits.\n\nThis package exports standard inherits from node.js util module in\nnode environment, but also provides alternative browser-friendly\nimplementation through browser\nfield. Alternative\nimplementation is a literal copy of standard one located in standalone\nmodule to avoid requiring of util. It also has a shim for old\nbrowsers with no Object.create support.\n\nWhile keeping you sure you are using standard inherits\nimplementation in node.js environment, it allows bundlers such as\nbrowserify to not\ninclude full util package to your client code if all you need is\njust inherits function. It worth, because browser shim for util\npackage is large and inherits is often the single function you need\nfrom it.\n\nIt's recommended to use this package instead of\nrequire(\'util\').inherits for any code that has chances to be used\nnot only in node.js but in browser too.\n\n## usage\n\njs\nvar inherits = require(\'inherits\');\n// then use exactly as the standard one\n\n\n## note on version ~1.0\n\nVersion ~1.0 had completely different motivation and is not compatible\nneither with 2.0 nor with standard node.js inherits.\n\nIf you are using version ~1.0 and planning to switch to ~2.0, be\ncareful:\n\n* new version uses super_ instead of super for referencing\n superclass\n* new version overwrites current prototype while old one preserves any\n existing fields on it\n',
634 silly resolved readmeFilename: 'README.md',
634 silly resolved bugs: { url: 'https://github.com/isaacs/inherits/issues' },
634 silly resolved homepage: 'https://github.com/isaacs/inherits',
634 silly resolved _id: 'inherits@2.0.1',
634 silly resolved _from: 'inherits@2' },
634 silly resolved { author:
634 silly resolved { name: 'Isaac Z. Schlueter',
634 silly resolved email: 'i@izs.me',
634 silly resolved url: 'http://blog.izs.me/' },
634 silly resolved name: 'block-stream',
634 silly resolved description: 'a stream of blocks',
634 silly resolved version: '0.0.7',
634 silly resolved repository: { type: 'git', url: 'git://github.com/isaacs/block-stream.git' },
634 silly resolved engines: { node: '0.4 || >=0.5.8' },
634 silly resolved main: 'block-stream.js',
634 silly resolved dependencies: { inherits: '~2.0.0' },
634 silly resolved devDependencies: { tap: '0.x' },
634 silly resolved scripts: { test: 'tap test/' },
634 silly resolved license: 'BSD',
634 silly resolved readme: '# block-stream\n\nA stream of blocks.\n\nWrite data into it, and it'll output data in buffer blocks the size you\nspecify, padding with zeroes if necessary.\n\njavascript\nvar block = new BlockStream(512)\nfs.createReadStream("some-file").pipe(block)\nblock.pipe(fs.createWriteStream("block-file"))\n\n\nWhen .end() or .flush() is called, it'll pad the block with zeroes.\n',
634 silly resolved readmeFilename: 'README.md',
634 silly resolved bugs: { url: 'https://github.com/isaacs/block-stream/issues' },
634 silly resolved homepage: 'https://github.com/isaacs/block-stream',
634 silly resolved id: 'block-stream@0.0.7',
634 silly resolved from: 'block-stream@' } ]
635 info install inherits@2.0.1 into /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar
636 info install block-stream@0.0.7 into /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar
637 info installOne inherits@2.0.1
638 info installOne block-stream@0.0.7
639 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits unbuild
640 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream unbuild
641 verbose tar unpack /home/jj/.npm/inherits/2.0.1/package.tgz
642 silly lockFile 26a463c8-odules-tar-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits
643 verbose lock tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits /home/jj/.npm/26a463c8-odules-tar-node-modules-inherits.lock
644 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
645 verbose lock tar:///home/jj/.npm/inherits/2.0.1/package.tgz /home/jj/.npm/2d779837-j-npm-inherits-2-0-1-package-tgz.lock
646 verbose tar unpack /home/jj/.npm/block-stream/0.0.7/package.tgz
647 silly lockFile aed72799-es-tar-node-modules-block-stream tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream
648 verbose lock tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream /home/jj/.npm/aed72799-es-tar-node-modules-block-stream.lock
649 silly lockFile 33b9dcd3-m-block-stream-0-0-7-package-tgz tar:///home/jj/.npm/block-stream/0.0.7/package.tgz
650 verbose lock tar:///home/jj/.npm/block-stream/0.0.7/package.tgz /home/jj/.npm/33b9dcd3-m-block-stream-0-0-7-package-tgz.lock
651 silly gunzTarPerm modes [ '755', '644' ]
652 silly gunzTarPerm modes [ '755', '644' ]
653 silly gunzTarPerm extractEntry package.json
654 silly gunzTarPerm extractEntry package.json
655 silly gunzTarPerm extractEntry README.md
656 silly gunzTarPerm extractEntry LICENSE
657 silly gunzTarPerm extractEntry README.md
658 silly gunzTarPerm extractEntry LICENCE
659 silly gunzTarPerm extractEntry inherits.js
660 silly gunzTarPerm extractEntry inherits_browser.js
661 silly gunzTarPerm extractEntry block-stream.js
662 silly gunzTarPerm extractEntry bench/block-stream-pause.js
663 silly gunzTarPerm extractEntry bench/block-stream.js
664 silly gunzTarPerm extractEntry bench/dropper-pause.js
665 silly gunzTarPerm extractEntry bench/dropper.js
666 silly gunzTarPerm extractEntry test/basic.js
667 silly gunzTarPerm extractEntry test/nopad-thorough.js
668 silly gunzTarPerm extractEntry test/nopad.js
669 silly gunzTarPerm extractEntry test/pause-resume.js
670 silly gunzTarPerm extractEntry test/thorough.js
671 silly gunzTarPerm extractEntry test/two-stream.js
672 silly gunzTarPerm extractEntry test.js
673 http 304 https://registry.npmjs.org/graceful-fs
674 silly registry.get cb [ 304,
674 silly registry.get { server: 'CouchDB/1.3.1 (Erlang OTP/R15B03)',
674 silly registry.get etag: '"8VTIGE3KHXX4861152PVTWGF8"',
674 silly registry.get date: 'Mon, 25 Nov 2013 16:09:21 GMT',
674 silly registry.get 'content-length': '0' } ]
675 verbose etag graceful-fs from cache
676 http 304 https://registry.npmjs.org/rimraf
677 silly registry.get cb [ 304,
677 silly registry.get { server: 'CouchDB/1.5.0 (Erlang OTP/R15B03)',
677 silly registry.get etag: '"BO8JLBC2TKAXGJCA5T3URAII3"',
677 silly registry.get date: 'Mon, 25 Nov 2013 16:09:21 GMT',
677 silly registry.get 'content-length': '0' } ]
678 verbose etag rimraf from cache
679 silly addNameRange number 2 { name: 'graceful-fs',
679 silly addNameRange range: '>=2.0.0-0 <2.1.0-0',
679 silly addNameRange hasData: true }
680 silly addNameRange versions [ 'graceful-fs',
680 silly addNameRange [ '1.0.0',
680 silly addNameRange '1.0.1',
680 silly addNameRange '1.0.2',
680 silly addNameRange '1.1.0',
680 silly addNameRange '1.1.1',
680 silly addNameRange '1.1.2',
680 silly addNameRange '1.1.3',
680 silly addNameRange '1.1.4',
680 silly addNameRange '1.1.5',
680 silly addNameRange '1.1.6',
680 silly addNameRange '1.1.7',
680 silly addNameRange '1.1.8',
680 silly addNameRange '1.1.9',
680 silly addNameRange '1.1.10',
680 silly addNameRange '1.1.11',
680 silly addNameRange '1.1.12',
680 silly addNameRange '1.1.13',
680 silly addNameRange '1.1.14',
680 silly addNameRange '1.2.0',
680 silly addNameRange '1.2.1',
680 silly addNameRange '1.2.2',
680 silly addNameRange '1.2.3',
680 silly addNameRange '2.0.0',
680 silly addNameRange '2.0.1' ] ]
681 verbose addNamed [ 'graceful-fs', '2.0.1' ]
682 verbose addNamed [ '2.0.1', '2.0.1' ]
683 silly lockFile 74ee75cd-graceful-fs-2-0-1 graceful-fs@2.0.1
684 verbose lock graceful-fs@2.0.1 /home/jj/.npm/74ee75cd-graceful-fs-2-0-1.lock
685 silly addNameRange number 2 { name: 'rimraf', range: '>=2.0.0-0 <3.0.0-0', hasData: true }
686 silly addNameRange versions [ 'rimraf',
686 silly addNameRange [ '1.0.0',
686 silly addNameRange '1.0.1',
686 silly addNameRange '1.0.2',
686 silly addNameRange '1.0.4',
686 silly addNameRange '1.0.5',
686 silly addNameRange '1.0.6',
686 silly addNameRange '1.0.7',
686 silly addNameRange '1.0.8',
686 silly addNameRange '1.0.9',
686 silly addNameRange '2.0.0',
686 silly addNameRange '2.0.1',
686 silly addNameRange '2.0.2',
686 silly addNameRange '2.0.3',
686 silly addNameRange '2.1.0',
686 silly addNameRange '2.1.1',
686 silly addNameRange '2.1.2',
686 silly addNameRange '2.1.3',
686 silly addNameRange '2.1.4',
686 silly addNameRange '2.2.0',
686 silly addNameRange '2.2.1',
686 silly addNameRange '2.2.2' ] ]
687 verbose addNamed [ 'rimraf', '2.2.2' ]
688 verbose addNamed [ '2.2.2', '2.2.2' ]
689 silly lockFile aab0fa5b-rimraf-2-2-2 rimraf@2.2.2
690 verbose lock rimraf@2.2.2 /home/jj/.npm/aab0fa5b-rimraf-2-2-2.lock
691 silly lockFile 26a463c8-odules-tar-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits
692 silly lockFile 26a463c8-odules-tar-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits
693 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
694 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
695 silly lockFile 74ee75cd-graceful-fs-2-0-1 graceful-fs@2.0.1
696 silly lockFile 74ee75cd-graceful-fs-2-0-1 graceful-fs@2.0.1
697 silly lockFile aab0fa5b-rimraf-2-2-2 rimraf@2.2.2
698 silly lockFile aab0fa5b-rimraf-2-2-2 rimraf@2.2.2
699 silly lockFile 8863dcc9-graceful-fs-2-0-0 graceful-fs@~2.0.0
700 silly lockFile 8863dcc9-graceful-fs-2-0-0 graceful-fs@~2.0.0
701 silly lockFile 8c081391-rimraf-2 rimraf@2
702 silly lockFile 8c081391-rimraf-2 rimraf@2
703 silly resolved [ { name: 'inherits',
703 silly resolved description: 'Browser-friendly inheritance fully compatible with standard node.js inherits()',
703 silly resolved version: '2.0.1',
703 silly resolved keywords:
703 silly resolved [ 'inheritance',
703 silly resolved 'class',
703 silly resolved 'klass',
703 silly resolved 'oop',
703 silly resolved 'object-oriented',
703 silly resolved 'inherits',
703 silly resolved 'browser',
703 silly resolved 'browserify' ],
703 silly resolved main: './inherits.js',
703 silly resolved browser: './inherits_browser.js',
703 silly resolved repository: { type: 'git', url: 'git://github.com/isaacs/inherits' },
703 silly resolved license: 'ISC',
703 silly resolved scripts: { test: 'node test' },
703 silly resolved readme: 'Browser-friendly inheritance fully compatible with standard node.js\ninherits.\n\nThis package exports standard inherits from node.js util module in\nnode environment, but also provides alternative browser-friendly\nimplementation through browser\nfield. Alternative\nimplementation is a literal copy of standard one located in standalone\nmodule to avoid requiring of util. It also has a shim for old\nbrowsers with no Object.create support.\n\nWhile keeping you sure you are using standard inherits\nimplementation in node.js environment, it allows bundlers such as\nbrowserify to not\ninclude full util package to your client code if all you need is\njust inherits function. It worth, because browser shim for util\npackage is large and inherits is often the single function you need\nfrom it.\n\nIt's recommended to use this package instead of\nrequire(\'util\').inherits for any code that has chances to be used\nnot only in node.js but in browser too.\n\n## usage\n\njs\nvar inherits = require(\'inherits\');\n// then use exactly as the standard one\n\n\n## note on version ~1.0\n\nVersion ~1.0 had completely different motivation and is not compatible\nneither with 2.0 nor with standard node.js inherits.\n\nIf you are using version ~1.0 and planning to switch to ~2.0, be\ncareful:\n\n
new version uses super_instead ofsuperfor referencing\n superclass\n* new version overwrites current prototype while old one preserves any\n existing fields on it\n',
703 silly resolved readmeFilename: 'README.md',
703 silly resolved bugs: { url: 'https://github.com/isaacs/inherits/issues' },
703 silly resolved homepage: 'https://github.com/isaacs/inherits',
703 silly resolved _id: 'inherits@2.0.1',
703 silly resolved _from: 'inherits@2' },
703 silly resolved { author:
703 silly resolved { name: 'Isaac Z. Schlueter',
703 silly resolved email: 'i@izs.me',
703 silly resolved url: 'http://blog.izs.me' },
703 silly resolved name: 'graceful-fs',
703 silly resolved description: 'A drop-in replacement for fs, making various improvements.',
703 silly resolved version: '2.0.1',
703 silly resolved repository:
703 silly resolved { type: 'git',
703 silly resolved url: 'git://github.com/isaacs/node-graceful-fs.git' },
703 silly resolved main: 'graceful-fs.js',
703 silly resolved engines: { node: '>=0.4.0' },
703 silly resolved directories: { test: 'test' },
703 silly resolved scripts: { test: 'tap test/.js' },
703 silly resolved keywords:
703 silly resolved [ 'fs',
703 silly resolved 'module',
703 silly resolved 'reading',
703 silly resolved 'retry',
703 silly resolved 'retries',
703 silly resolved 'queue',
703 silly resolved 'error',
703 silly resolved 'errors',
703 silly resolved 'handling',
703 silly resolved 'EMFILE',
703 silly resolved 'EAGAIN',
703 silly resolved 'EINVAL',
703 silly resolved 'EPERM',
703 silly resolved 'EACCESS' ],
703 silly resolved license: 'BSD',
703 silly resolved readme: '# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over fs module\n\ngraceful-fs:\n\n
Queues upopenandreaddircalls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixeslchmodfor Node versions prior to 0.6.2.\n* implementsfs.lutimesif possible. Otherwise it becomes a noop.\n* ignoresEINVALandEPERMerrors inchown,fchownor\nlchownif the user isn't root.\n* makeslchmodandlchownbecome noops, if not available.\n* retries reading a file ifreadresults in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second ifEACCESS\norEPERMerror occurs, likely because antivirus software has locked\nthe directory.\n',
703 silly resolved readmeFilename: 'README.md',
703 silly resolved bugs: { url: 'https://github.com/isaacs/node-graceful-fs/issues' },
703 silly resolved homepage: 'https://github.com/isaacs/node-graceful-fs',
703 silly resolved _id: 'graceful-fs@2.0.1',
703 silly resolved _from: 'graceful-fs@~2.0.0' },
703 silly resolved { name: 'rimraf',
703 silly resolved version: '2.2.2',
703 silly resolved main: 'rimraf.js',
703 silly resolved description: 'A deep deletion module for node (likerm -rf)',
703 silly resolved author:
703 silly resolved { name: 'Isaac Z. Schlueter',
703 silly resolved email: 'i@izs.me',
703 silly resolved url: 'http://blog.izs.me/' },
703 silly resolved license:
703 silly resolved { type: 'MIT',
703 silly resolved url: 'https://github.com/isaacs/rimraf/raw/master/LICENSE' },
703 silly resolved optionalDependencies: { 'graceful-fs': '~2' },
703 silly resolved repository: { type: 'git', url: 'git://github.com/isaacs/rimraf.git' },
703 silly resolved scripts: { test: 'cd test && bash run.sh' },
703 silly resolved bin: { rimraf: './bin.js' },
703 silly resolved contributors: [ [Object], [Object], [Object], [Object], [Object] ],
703 silly resolved readme: 'Arm -rffor node.\n\nInstall withnpm install rimraf, or just drop rimraf.js somewhere.\n\n## API\n\nrimraf(f, callback)\n\nThe callback will be called with an error if there is one. Certain\nerrors are handled for you:\n\n*EBUSY- rimraf will back off a maximum of opts.maxBusyTries times\n before giving up.\n*EMFILE- If too many file descriptors get opened, rimraf will\n patiently wait until more become available.\n\n\n## rimraf.sync\n\nIt can remove stuff synchronously, too. But that's not so good. Use\nthe async API. It's better.\n\n## CLI\n\nIf installed withnpm install rimraf -git can be used as a global\ncommandrimraf <path>which is useful for cross platform support.\n',
703 silly resolved readmeFilename: 'README.md',
703 silly resolved bugs: { url: 'https://github.com/isaacs/rimraf/issues' },
703 silly resolved homepage: 'https://github.com/isaacs/rimraf',
703 silly resolved dependencies: { 'graceful-fs': '~2' },
703 silly resolved _id: 'rimraf@2.2.2',
703 silly resolved _from: 'rimraf@2' } ]
704 info install inherits@2.0.1 into /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream
705 info install graceful-fs@2.0.1 into /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream
706 info install rimraf@2.2.2 into /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream
707 info installOne inherits@2.0.1
708 info installOne graceful-fs@2.0.1
709 info installOne rimraf@2.2.2
710 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits unbuild
711 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs unbuild
712 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf unbuild
713 info preinstall inherits@2.0.1
714 verbose tar unpack /home/jj/.npm/inherits/2.0.1/package.tgz
715 silly lockFile 2a475acb-es-fstream-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits
716 verbose lock tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits /home/jj/.npm/2a475acb-es-fstream-node-modules-inherits.lock
717 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
718 verbose lock tar:///home/jj/.npm/inherits/2.0.1/package.tgz /home/jj/.npm/2d779837-j-npm-inherits-2-0-1-package-tgz.lock
719 verbose tar unpack /home/jj/.npm/graceful-fs/2.0.1/package.tgz
720 silly lockFile d872c558-fstream-node-modules-graceful-fs tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs
721 verbose lock tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs /home/jj/.npm/d872c558-fstream-node-modules-graceful-fs.lock
722 silly lockFile 9d7a5183-pm-graceful-fs-2-0-1-package-tgz tar:///home/jj/.npm/graceful-fs/2.0.1/package.tgz
723 verbose lock tar:///home/jj/.npm/graceful-fs/2.0.1/package.tgz /home/jj/.npm/9d7a5183-pm-graceful-fs-2-0-1-package-tgz.lock
724 verbose tar unpack /home/jj/.npm/rimraf/2.2.2/package.tgz
725 silly lockFile ae9b5bfb-ules-fstream-node-modules-rimraf tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf
726 verbose lock tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf /home/jj/.npm/ae9b5bfb-ules-fstream-node-modules-rimraf.lock
727 silly lockFile da8fbc2b--jj-npm-rimraf-2-2-2-package-tgz tar:///home/jj/.npm/rimraf/2.2.2/package.tgz
728 verbose lock tar:///home/jj/.npm/rimraf/2.2.2/package.tgz /home/jj/.npm/da8fbc2b--jj-npm-rimraf-2-2-2-package-tgz.lock
729 verbose readDependencies using package.json deps
730 verbose readDependencies using package.json deps
731 silly resolved []
732 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits
733 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/inherits
734 verbose linkStuff [ false,
734 verbose linkStuff false,
734 verbose linkStuff false,
734 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules' ]
735 info linkStuff inherits@2.0.1
736 verbose linkBins inherits@2.0.1
737 verbose linkMans inherits@2.0.1
738 verbose rebuildBundles inherits@2.0.1
739 info install inherits@2.0.1
740 silly gunzTarPerm modes [ '755', '644' ]
741 silly gunzTarPerm modes [ '755', '644' ]
742 silly gunzTarPerm modes [ '755', '644' ]
743 info postinstall inherits@2.0.1
744 silly gunzTarPerm extractEntry package.json
745 silly gunzTarPerm extractEntry package.json
746 silly gunzTarPerm extractEntry package.json
747 silly gunzTarPerm extractEntry README.md
748 silly gunzTarPerm extractEntry LICENSE
749 silly gunzTarPerm extractEntry .npmignore
750 silly gunzTarPerm extractEntry README.md
751 silly gunzTarPerm extractEntry README.md
752 silly gunzTarPerm extractEntry LICENSE
753 silly gunzTarPerm extractEntry inherits.js
754 silly gunzTarPerm extractEntry inherits_browser.js
755 silly gunzTarPerm extractEntry bin.js
756 silly gunzTarPerm extractEntry rimraf.js
757 silly gunzTarPerm extractEntry LICENSE
758 silly gunzTarPerm extractEntry graceful-fs.js
759 silly gunzTarPerm extractEntry polyfills.js
760 silly gunzTarPerm extractEntry test/open.js
761 silly gunzTarPerm extractEntry AUTHORS
762 silly gunzTarPerm extractEntry test/test-async.js
763 silly gunzTarPerm extractEntry test.js
764 silly gunzTarPerm extractEntry test/test-sync.js
765 silly gunzTarPerm extractEntry test/run.sh
766 silly gunzTarPerm extractEntry test/setup.sh
767 silly lockFile 2a475acb-es-fstream-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits
768 silly lockFile 2a475acb-es-fstream-node-modules-inherits tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits
769 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
770 silly lockFile 2d779837-j-npm-inherits-2-0-1-package-tgz tar:///home/jj/.npm/inherits/2.0.1/package.tgz
771 info preinstall inherits@2.0.1
772 verbose readDependencies using package.json deps
773 verbose readDependencies using package.json deps
774 silly resolved []
775 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits
776 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/inherits
777 verbose linkStuff [ false,
777 verbose linkStuff false,
777 verbose linkStuff false,
777 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules' ]
778 info linkStuff inherits@2.0.1
779 verbose linkBins inherits@2.0.1
780 verbose linkMans inherits@2.0.1
781 verbose rebuildBundles inherits@2.0.1
782 info install inherits@2.0.1
783 info postinstall inherits@2.0.1
784 silly lockFile aed72799-es-tar-node-modules-block-stream tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream
785 silly lockFile aed72799-es-tar-node-modules-block-stream tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream
786 silly lockFile 33b9dcd3-m-block-stream-0-0-7-package-tgz tar:///home/jj/.npm/block-stream/0.0.7/package.tgz
787 silly lockFile 33b9dcd3-m-block-stream-0-0-7-package-tgz tar:///home/jj/.npm/block-stream/0.0.7/package.tgz
788 silly lockFile d872c558-fstream-node-modules-graceful-fs tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs
789 silly lockFile d872c558-fstream-node-modules-graceful-fs tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs
790 silly lockFile 9d7a5183-pm-graceful-fs-2-0-1-package-tgz tar:///home/jj/.npm/graceful-fs/2.0.1/package.tgz
791 silly lockFile 9d7a5183-pm-graceful-fs-2-0-1-package-tgz tar:///home/jj/.npm/graceful-fs/2.0.1/package.tgz
792 info preinstall block-stream@0.0.7
793 info preinstall graceful-fs@2.0.1
794 verbose readDependencies using package.json deps
795 verbose readDependencies using package.json deps
796 silly resolved []
797 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream
798 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules/block-stream
799 verbose linkStuff [ false,
799 verbose linkStuff false,
799 verbose linkStuff false,
799 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar/node_modules' ]
800 info linkStuff block-stream@0.0.7
801 verbose linkBins block-stream@0.0.7
802 verbose linkMans block-stream@0.0.7
803 verbose rebuildBundles block-stream@0.0.7
804 info install block-stream@0.0.7
805 verbose readDependencies using package.json deps
806 verbose readDependencies using package.json deps
807 silly resolved []
808 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs
809 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/graceful-fs
810 verbose linkStuff [ false,
810 verbose linkStuff false,
810 verbose linkStuff false,
810 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules' ]
811 info linkStuff graceful-fs@2.0.1
812 verbose linkBins graceful-fs@2.0.1
813 verbose linkMans graceful-fs@2.0.1
814 verbose rebuildBundles graceful-fs@2.0.1
815 info postinstall block-stream@0.0.7
816 info install graceful-fs@2.0.1
817 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar
818 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/tar
819 verbose linkStuff [ false,
819 verbose linkStuff false,
819 verbose linkStuff false,
819 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules' ]
820 info linkStuff tar@0.1.18
821 verbose linkBins tar@0.1.18
822 verbose linkMans tar@0.1.18
823 verbose rebuildBundles tar@0.1.18
824 info postinstall graceful-fs@2.0.1
825 verbose rebuildBundles [ 'block-stream', 'inherits' ]
826 info install tar@0.1.18
827 info postinstall tar@0.1.18
828 silly lockFile ae9b5bfb-ules-fstream-node-modules-rimraf tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf
829 silly lockFile ae9b5bfb-ules-fstream-node-modules-rimraf tar:///home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf
830 silly lockFile da8fbc2b--jj-npm-rimraf-2-2-2-package-tgz tar:///home/jj/.npm/rimraf/2.2.2/package.tgz
831 silly lockFile da8fbc2b--jj-npm-rimraf-2-2-2-package-tgz tar:///home/jj/.npm/rimraf/2.2.2/package.tgz
832 info preinstall rimraf@2.2.2
833 verbose readDependencies using package.json deps
834 verbose readDependencies using package.json deps
835 silly resolved []
836 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf
837 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/rimraf
838 verbose linkStuff [ false,
838 verbose linkStuff false,
838 verbose linkStuff false,
838 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules' ]
839 info linkStuff rimraf@2.2.2
840 verbose linkBins rimraf@2.2.2
841 verbose link bins [ { rimraf: './bin.js' },
841 verbose link bins '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream/node_modules/.bin',
841 verbose link bins false ]
842 verbose linkMans rimraf@2.2.2
843 verbose rebuildBundles rimraf@2.2.2
844 info install rimraf@2.2.2
845 info postinstall rimraf@2.2.2
846 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream
847 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules/fstream
848 verbose linkStuff [ false,
848 verbose linkStuff false,
848 verbose linkStuff false,
848 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz/node_modules' ]
849 info linkStuff fstream@0.1.25
850 verbose linkBins fstream@0.1.25
851 verbose linkMans fstream@0.1.25
852 verbose rebuildBundles fstream@0.1.25
853 verbose rebuildBundles [ '.bin', 'graceful-fs', 'inherits', 'rimraf' ]
854 info install fstream@0.1.25
855 info postinstall fstream@0.1.25
856 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz
857 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/tar.gz
858 verbose linkStuff [ false,
858 verbose linkStuff false,
858 verbose linkStuff false,
858 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules' ]
859 info linkStuff tar.gz@0.1.1
860 verbose linkBins tar.gz@0.1.1
861 verbose link bins [ { targz: './bin/targz' },
861 verbose link bins '/home/jj/var/ProjetStyle/node/node_modules/sqlite3/node_modules/.bin',
861 verbose link bins false ]
862 verbose linkMans tar.gz@0.1.1
863 verbose rebuildBundles tar.gz@0.1.1
864 verbose rebuildBundles [ 'commander', 'fstream', 'tar' ]
865 info install tar.gz@0.1.1
866 info postinstall tar.gz@0.1.1
867 verbose about to build /home/jj/var/ProjetStyle/node/node_modules/sqlite3
868 info build /home/jj/var/ProjetStyle/node/node_modules/sqlite3
869 verbose linkStuff [ false,
869 verbose linkStuff false,
869 verbose linkStuff false,
869 verbose linkStuff '/home/jj/var/ProjetStyle/node/node_modules' ]
870 info linkStuff sqlite3@2.1.19
871 verbose linkBins sqlite3@2.1.19
872 verbose linkMans sqlite3@2.1.19
873 verbose rebuildBundles sqlite3@2.1.19
874 verbose rebuildBundles [ '.bin', 'mkdirp', 'tar.gz' ]
875 info install sqlite3@2.1.19
876 verbose unsafe-perm in lifecycle false
877 info sqlite3@2.1.19 Failed to exec install script
878 info /home/jj/var/ProjetStyle/node/node_modules/sqlite3 unbuild
879 info preuninstall sqlite3@2.1.19
880 info uninstall sqlite3@2.1.19
881 verbose true,/home/jj/var/ProjetStyle/node/node_modules,/home/jj/var/ProjetStyle/node/node_modules unbuild sqlite3@2.1.19
882 info postuninstall sqlite3@2.1.19
883 error sqlite3@2.1.19 install:node build.js
883 error Exit status 1
884 error Failed at the sqlite3@2.1.19 install script.
884 error This is most likely a problem with the sqlite3 package,
884 error not with npm itself.
884 error Tell the author that this fails on your system:
884 error node build.js
884 error You can get their info via:
884 error npm owner ls sqlite3
884 error There is likely additional logging output above.
885 error System Linux 3.2.0-56-generic
886 error command "/usr/bin/node" "/usr/bin/npm" "-d" "install" "sqlite3"
887 error cwd /home/jj/var/ProjetStyle/node
888 error node -v v0.10.22
889 error npm -v 1.3.14
890 error code ELIFECYCLE
891 verbose exit [ 1, true ]

@springmeyer
Copy link
Contributor

thanks for the report. I'll take a closer look when I have time (likely a few weeks).

@herrmoody
Copy link

I encountered a similar problem, which I was able to verify is based on the assumption that the node.js application is called node. On Debian systems the node executable is nodejs because there is another package which uses the executable name node. I was able to work around the problem to get the sqlite3 package installed by creating a link from node to nodejs, but that is not an ideal solution. Other npm packages seem to have worked around this so there must be a way of indicating which executable name to use. Hopefully that helps with your troubleshooting.

@springmeyer
Copy link
Contributor

Thanks @herrmoody - think you are right, and thanks for the digging. This should be fixed in #245, but also tracking at mapbox/node-pre-gyp#15

@springmeyer
Copy link
Contributor

studied this more here and the only viable fix is:

sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10

@herrmoody said:

Other npm packages seem to have worked around this so there must be a way of indicating which executable name to use.

This is not what I can see. All user installed package that have command line programs will be broken. Based on the usage of node-pre-gyp in node-sqlite3 this means this command line program will be broken like all others until the system symlinks are fixed.

@springmeyer
Copy link
Contributor

yeah, even ghost will be broken since it calls node at startup: https://github.com/TryGhost/Ghost/blob/c356bbd075f6c6f85824a6a4a1c803ccd4bfecad/package.json#L26

@amatenkov
Copy link

Or you can create link for node.
Example:
ln -s /usr/bin/nodejs /usr/bin/node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants