Biar gak lupa

Error node

saat install menggunakan npm mendapatkan error :

sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! error rolling back Error: ENOTEMPTY, rmdir '/home/amaulana8/Dropbox/Strut/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/mocha/node_modules/jade/node_modules/mkdirp'
npm ERR! error rolling back  grunt-contrib-imagemin@0.1.4 { [Error: ENOTEMPTY, rmdir '/home/amaulana8/Dropbox/Strut/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/mocha/node_modules/jade/node_modules/mkdirp']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: '/home/amaulana8/Dropbox/Strut/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin/node_modules/mocha/node_modules/jade/node_modules/mkdirp' }

solusinya : Buat link node

sudo ln -s /usr/bin/nodejs /usr/bin/node

dapat baca dari : http://stackoverflow.com/questions/20881075/npm-install-g-yo-command-gives-err-yo1-1-0-postinstall-node-scripts-doct

Error Pulseaudio configured for peer user sessions

BlankOn booting [info]

[info] PulseAudio not started: Configured for per-user sessions.

solusi biar gak muncul pesan lagi edit file /etc/default/pulseaudio rubah parameter

PULSEAUDIO_SYSTEM_START=0

menjadi

PULSEAUDIO_SYSTEM_START=1

restart pulseaudio

sudo service pulseaudio restart

dapat baca dari : http://www.linuxquestions.org/questions/debian-26/pulseaudio-configured-for-per-user-sessions-warning-914796/

Perintah CP (copy)

mengcopy isi beberapa folder secara bersamaan

misal dalam folder A terdapat beberapa folder dengan nama A-1,A-2,A-3,A-4 dan kita akan menggabungkan isi beberapa folder tersebut kedalam folder B :

cp -r /A/A-{1,2,3,4}/* /B 

more info :

cp --help
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s