npm install g yo command gives > ERR! [email protected] postinstall: `node scripts/doctor.js`
location:
linuxexchange.com - date:
January 2, 2014
I just tried to do a npm install but get this error about doctor,js at the end. Do I need to worry about it?
npm install -g yo
.
.
npm http 304 https://registry.npmjs.org/graceful-fs
npm http 200 https://registry.npmjs.org/fstream/-/fstream-0.1.25.tgz
/usr/local/bin/yo -> /usr/local/lib/node_modules/yo/cli.js
>
[email protected] postinstall /usr/local/lib/node_modules/yo
> node scripts/doctor.js
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!
[email protected] postinstall: `node scripts/doctor.js`
npm ERR! `sh "-c" "node scripts/doctor.js"` failed with 1
npm ERR!
npm ERR! Failed at the
[email protected] postinstall script.
npm ERR! This is most likely a problem with the yo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/doctor.js
npm ERR! You can get their info via:
npm ERR! npm owner ls yo
npm ERR! There is
Packer: Using npm install in packer script fails with command not found error
location: linuxexchange.com - date: January 1, 1970
I've been playing with packer lately and found it an amazing tool. But I'm failing to use installed tools in the installation script.
Here's an example packer template I've been playing with (I've know there are better ways to use this with scripts and provisioners. but for simplicity sake I'm learning with this) :
{
"variables":{
"aws_access_key": "{{env `AWS_ACCESS_KEY`}}",
"aws_secret_key": "{{env `AWS_SECRET_KEY`}}"
},
"builders":[{
"type": "amazon-ebs",
"access_key":"{{user `aws_access_key`}}",
"secret_key":"{{user `aws_secret_key`}}",
"region": "us-east-1",
"source_ami": "ami-de0d9eb7",
"instance_type": "t1.micro",
"ssh_username": "ubuntu",
"ami_name": "packer-example2 {{timestamp}}"
}],
"provisioners":[{
"type": "shell",
"inline":[
"sleep 30",
"echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list",
"echo 'deb http://www.rabbitmq.
[SOLVED] How do I install jobs command and its manual on ubuntu 10.10 notebook
location: linuxquestions.com - date: April 13, 2011
Hello:
I just found out that jobs -l and man jobs produce no output in my terminal. I wonder how could I fix that?
How could I install jobs command and its manual on my ubuntu 10.10 ?
Thank you
mansour
install jar command
location: ubuntuforums.com - date: July 30, 2010
I am running Ubuntu 10.04.
I just created a jar file and now I am trying to extract the files again.
So I tried the jar command but it was not found.
Then I tried installing the jar package but there is no such package.
I assume that the jar command is contained in some package that I must
install but I don't know what package.
I did a search for "jar" in the synaptic package manager but did not
identify what package I should install.
Any suggestions as to what I should try next?
Regards,
Ralph Boland
Cat command gives error permission denied
location:
ubuntuforums.com - date:
August 28, 2010
Hi
I am kinda new to Linux, I am trying to achieve some goals and learn more about Linux.
I am using Ubuntu server edition 10.04.1 running in Vmware server 2.02.
I am connect via Putty so I can use copy and paste.
My first goal is configuring a ftp server using PureFtpd using this guide.
I want to secure it as much as I can so this is way I chose this guide.
In section 10 I need to write this command
cat /dev/null > /etc/pure-ftpd/db/mysql.conf
I am getting this error
[email protected]:~$ sudo cat /dev/null > /etc/pure-ftpd/db/mysql.conf
-bash: /etc/pure-ftpd/db/mysql.conf: Permission denied
I tried with and without "sudo" and I am getting the same error.
Why and how can I fix it?
Thanks
Backtrack 3:install problems,command not found,maybe wrong wifi card
location: linuxquestions.com - date: April 20, 2009
well im a total noob in linux
i want to make a dual boot laptop with xp-backtrack 3. i made a partition for xp and installed xp. i made a swap partion and two ext3 partitions for backtrack. i cannot set my swap partition so i skip that step and hit a "command not found"and cannot go any further.
im running my bt from a bootable cd and want to test how long my encriptions take to break on my wireless ap. i open up my shell and type in "airodump -ng" and get "-bash: airodump: command not found".
my wifi card is intel corporation PRO/Wireless 2200BG which i think will not work for what i want. my wifi card works and accesses my router thus connecting to the net.
thanks ahead
CP command gives error, cannot stat, on Debian Squeeze
location:
linuxquestions.com - date:
May 1, 2012
I have been trying to get flash & java plugins working on my downloaded Firefox 11 and google chrome. I get errors when using the cp command, or broken links when trying to make a sym link. I find much info on getting these setup, but not much when it does not work.
I have 32 bit Debian Squeeze on amd64.
Any help getting these browers to work w/java and flash would be greatly appreciated, Pumper.
[email protected]:~/Downloads$ sudo cp jrel.6.0_31/plugin/i386/ns7/libjavaplugin_oji.so /opt/google/chrome/plugins/libjavaplugin_oji.so .
[sudo] password for walter:
cp: cannot stat `jrel.6.0_31/plugin/i386/ns7/libjavaplugin_oji.so': No such file or directory
cp: cannot stat `/opt/google/chrome/plugins/libjavaplugin_oji.so': No such file or directory
Java installed
[email protected]:~$ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
[email protected]:~$
problems using taksel install lampserver command
location: ubuntuforums.com - date: October 2, 2010
I am trying to install lampp on my computer with the taksel install lamp-server command but get following:
sudo tasksel install lamp-server
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "dk_DK.UTF-8",
LANG = "en_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "dk_DK.UTF-8",
LANG = "en_DK.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "dk_DK.UTF-8",
LANG = "en_DK.UTF-8"
Xming install missing command
location:
ubuntuforums.com - date:
October 27, 2010
I recently installed xming to run access ubuntu 10.10 remotely on Windows. Xming produces the Xwindows server, but the only way I can have access to my ubuntu gnome-session is to use the xlunch option for “no access control” which is virtually “xhost +” which makes my network unsecure.
I’m familiar with the “xhost” command and options. But there isn’t an xhost command on the windows machine to specify machine access control.
There are lots of references to running the xhost command for Xming which I know will resolve the issue. So there might be an accessory file download available somewhere to add the xhost command to my environment.
Can someone advise?
So far the only component that I have installed is Xming-6-9-0-31-setup.exe. Thanks in advance for any suggestions on what I’m missing.
-- L. James
--
L. D. James
[email protected]
www.apollo3.com/~ljames
Tried to install emacs, now gives error
location:
ubuntuforums.com - date:
September 14, 2009
I tried to install emacs with apt-get, it gave an error. Now trying to purge it fails:
Code:
[email protected]:~$ sudo apt-get purge emacs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package emacs is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up emacs22-gtk (22.2-0ubuntu2) ...
update-alternatives: unable to make /usr/share/man/ru/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.1.gz: No such file or directory
dpkg: error processing emacs22-gtk (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
emacs22-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do?
please wait...
Page: 1 2 3 4 5 6 7 8 9 10