Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion npm install TermKit issue on Xubuntu 12.04
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
unbewusst  
View profile  
 More options Jun 23 2012, 1:32 am
From: unbewusst <yvon.thora...@gmail.com>
Date: Fri, 22 Jun 2012 22:32:13 -0700 (PDT)
Local: Sat, Jun 23 2012 1:32 am
Subject: Re: [npm] npm install TermKit issue on Xubuntu 12.04

Un fortunately, the --force arg didn't work :

.-(~/TermKitProj/TermKit)---------------------------------------(yt@D620)-
`--> npm install --force
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/socket.io
npm ERR! Error: EACCES, mkdir '/home/yt/tmp/npm-1340429042799'
npm ERR!  { [Error: EACCES, mkdir '/home/yt/tmp/npm-1340429042799']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/yt/tmp/npm-1340429042799' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.2.0-25-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "--force"
npm ERR! cwd /home/yt/TermKitProj/TermKit
npm ERR! node -v v0.8.0-pre
npm ERR! npm -v 1.1.30
npm ERR! path /home/yt/tmp/npm-1340429042799
npm ERR! code EACCES
npm ERR! message EACCES, mkdir '/home/yt/tmp/npm-1340429042799'
npm ERR! errno 3
npm ERR! 3 errno
npm http 304 https://registry.npmjs.org/mime
npm http 200 https://registry.npmjs.org/connect
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/yt/TermKitProj/TermKit/npm-debug.log
npm ERR! not ok code 0
zsh: exit 3     npm install --force

Then i used sudo :

.-(~/TermKitProj/TermKit)---------------------------------------(yt@D620)-
`--> sudo npm install --force
[sudo] password for yt:
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/socket.io/-/socket.io-0.6.18.tgz
npm http 304 https://registry.npmjs.org/connect
npm http 304 https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/connect/-/connect-1.2.3.tgz
npm http GET https://registry.npmjs.org/mime/-/mime-1.2.5.tgz
npm ERR! tar pack Error reading
/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package
npm ERR! addLocalDirectory Could not pack
"/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package"
to "/home/yt/.npm/socket.io/0.6.18/package.tgz"
npm ERR! SyntaxError: Unexpected token }
npm ERR!     at Object.parse (native)
npm ERR!     at Packer.readRules
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:18 5:33)
npm ERR!     at Packer.IgnoreReader.addIgnoreFile
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstr eam-ignore/ignore.js:132:22)
npm ERR!     at fs.readFile (fs.js:176:14)
npm ERR!     at fs.close
(/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:94 :5)
npm ERR!     at Object.oncomplete (fs.js:297:15)
npm ERR!  { [SyntaxError: Unexpected token }]
npm ERR!   file:
'/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/s upport/socket.io-client/lib/vendor/uglifyjs/package.json',
npm ERR!   code: undefined,
npm ERR!   path:
'/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/s upport/socket.io-client/lib/vendor/uglifyjs',
npm ERR!   fstream_type: 'Directory',
npm ERR!   fstream_path:
'/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/s upport/socket.io-client/lib/vendor/uglifyjs',
npm ERR!   fstream_class: 'Packer',
npm ERR!   fstream_stack:
npm ERR!    [ 'Packer.readRules
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:18 8:10)',
npm ERR!      'Packer.IgnoreReader.addIgnoreFile
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstr eam-ignore/ignore.js:132:22)',
npm ERR!      'fs.readFile (fs.js:176:14)',
npm ERR!      'fs.close
(/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:94 :5)',
npm ERR!      'Object.oncomplete (fs.js:297:15)' ] }
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.2.0-25-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "--force"
npm ERR! cwd /home/yt/TermKitProj/TermKit
npm ERR! node -v v0.8.0-pre
npm ERR! npm -v 1.1.30
npm ERR! file
/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/su pport/socket.io-client/lib/vendor/uglifyjs/package.json
npm ERR! path
/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/su pport/socket.io-client/lib/vendor/uglifyjs
npm ERR! type unexpected_token
npm ERR! fstream_path
/home/yt/tmp/npm-1340429084814/1340429084814-0.13074642489664257/package/su pport/socket.io-client/lib/vendor/uglifyjs
npm ERR! fstream_type Directory
npm ERR! fstream_class Packer
npm ERR! message Unexpected token }
npm ERR! fstream_stack Packer.readRules
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:18 8:10)
npm ERR! fstream_stack Packer.IgnoreReader.addIgnoreFile
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstr eam-ignore/ignore.js:132:22)
npm ERR! fstream_stack fs.readFile (fs.js:176:14)
npm ERR! fstream_stack fs.close
(/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:94 :5)
npm ERR! fstream_stack Object.oncomplete (fs.js:297:15)
npm ERR! TypeError: Cannot call method 'filter' of undefined
npm ERR!     at Packer.IgnoreReader.addIgnoreRules
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstr eam-ignore/ignore.js:148:13)
npm ERR!     at Packer.IgnoreReader.addIgnoreFile
(/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstr eam-ignore/ignore.js:133:10)
npm ERR!     at fs.readFile (fs.js:176:14)
npm ERR!     at fs.close
(/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:94 :5)
npm ERR!     at Object.oncomplete (fs.js:297:15)
npm ERR!  [TypeError: Cannot call method 'filter' of undefined]
npm ERR! You may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-@googlegroups.com>

npm ERR! System Linux 3.2.0-25-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "--force"
npm ERR! cwd /home/yt/TermKitProj/TermKit
npm ERR! node -v v0.8.0-pre
npm ERR! npm -v 1.1.30
npm ERR! type non_object_property_call
npm ERR! message Cannot call method 'filter' of undefined
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/yt/TermKitProj/TermKit/npm-debug.log
npm ERR! not ok code 0
zsh: exit 1     sudo npm install --force

Le samedi 23 juin 2012 07:08:38 UTC+2, unbewusst a écrit :

> fine, thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.