Error in installation of nodejs on fedora

158 views
Skip to first unread message

Himanshu Srivastava

unread,
Jun 23, 2015, 12:54:38 AM6/23/15
to nod...@googlegroups.com
On running command  yum install npm  , I am getting below error:

Transaction check error:
  file /usr/lib/node_modules/npm/bin/npm from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/node_modules/node-gyp from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/bin/npm-cli.js from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/bin/read-package-json.js from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686

Due to this on launcher node server.js , I am not able to connect to it from browser of other machine

Could you please let me how to resolve the issue.


Regards
Himanshu

Javier Hernández Antúnez

unread,
Jun 23, 2015, 7:36:21 AM6/23/15
to nod...@googlegroups.com
Hi,

2015-06-23 6:39 GMT+02:00 Himanshu Srivastava <28him...@gmail.com>:
On running command  yum install npm  , I am getting below error:

Transaction check error:
  file /usr/lib/node_modules/npm/bin/npm from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/node_modules/node-gyp from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/bin/npm-cli.js from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686
  file /usr/lib/node_modules/npm/bin/read-package-json.js from install of npm-1.3.6-5.fc20.noarch conflicts with file from package nodejs-0.10.38-1nodesource.fc20.i686



looks like you're mixing official and non-official repositories of node, so I would recommend you to remove everything node-related (yum remove nodejs* npm) and install everything from scratch again.

Cheers,
Javi


 
Due to this on launcher node server.js , I am not able to connect to it from browser of other machine

Could you please let me how to resolve the issue.


Regards
Himanshu

--
Job board: http://jobs.nodejs.org/
New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
To post to this group, send email to nod...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/08179d2a-215c-45c0-9a15-07a007f00a6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Javier Hernández Antúnez
Área de Operaciones

Emergya Consultoría
Reply all
Reply to author
Forward
0 new messages