yum install nodejs installs 200+ rpms but still won't run.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I folks.

I've tried installing node.js and socket.io as I want to see if they will 
provide a solution to a problem I have.

However, the first problem I've got is that it won't run.  Below are the yum 
installs that I've tried. They look a bit iratic as I did them while trying 
things, and reading a number of web pages.  Between them they must have 
installed over 200 rpms.

The result is that when I try testing the install using 

git://github.com/learnboost/socket.io

I get the error shown below.  This seems to be a known problem on Fedora, and 
is designed to work this way.  The solution is supposed to be found at

https://npmjs.org/doc/faq.html#I-installed-something-globally-but-I-can-t-require-it

but all I get is HTTP error 404.  Can anyone please tell me what I need to do

[gary@gary chat]$ node .

module.js:340
    throw err;
          ^
Error: Cannot find module 'engine.io'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/gary/socket.io-node/lib/index.js:8:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
[gary@gary chat]$ ll
total 16
-rw-rw-r-- 1 gary gary 1934 Mar  2 14:18 index.js
-rw-rw-r-- 1 gary gary  249 Mar  2 14:18 package.json
drwxrwxr-x 2 gary gary 4096 Mar  2 14:18 public
-rw-rw-r-- 1 gary gary  497 Mar  2 14:18 README.md
[gary@gary chat]$ 






yum install nodejs nodejs-ws
yum install nodejs-express.noarch nodejs-express-session.noarch \
	nodejs-ansi-regex.noarch
yum install nodejs-errorhandler.noarch nodejs-errs.noarch \
	 nodejs-module-not-found-error.noarch
yum install nodejs-express.noarch     -- said there's nothing to do
yum install npm
yum install 'npm(express)'  -- said there's nothing to do

-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux