2013-06-09 3 views
2

Node.js가 서버에 설치되었습니다. 어제, yum erase nodejs으로 삭제했고 이제 새로운 Node.js를 설치하려고합니다. 나는 yum install nodejs-compat-symlinks npm 해봤지만 오류와 함께 종료 :CentOS에서 NodeJS 설치 오류가 발생했습니다.

Running rpm_check_debug Running Transaction Test

Transaction Check Error:
file /usr/bin/node conflicts between attempted installs of nodejs-compat-symlinks-1-1.el6.noarch and nodejs-0.10.5-3.el6.x86_64

file /usr/include/node conflicts between attempted installs of nodejs-compat-symlinks-1-1.el6.noarch and nodejs-devel-0.10.5-3.el6.x86_64

지금 서버에 Node.js를 설치 할 수 있습니까?

P. 나는이 매뉴얼 Node.js를 설치 : 당신은 당신이 yum erase nodejs을 실행했을 때 노드와 함께 삭제되지 않은 충돌하는 패키지를 가지고있는 것처럼

wget http://patches.fedorapeople.org/oldnode/repocfg/el/nodejs-stable-release.noarch.rpm yum localinstall --nogpgcheck nodejs-stable-release.noarch.rpm

Edit /etc/yum.repos.d/nodejs-stable.repo. Comment out the mirrorlist and use for [nodejs-stable] the baseurl: baseurl= http://patches.fedorapeople.org/oldnode/stable/el $releasever/$basearch/

and for [nodejs-stable-source] also comment out the mirrorlist and use for [nodejs-stable-source] the baseurl: baseurl= http://patches.fedorapeople.org/oldnode/stable/el $releasever/SRPMS/

답변

관련 문제