snu-sf-class / swpp201901

소프트웨어 개발의 원리와 실습
27 stars 8 forks source link

ARc 설치 질문 #33

Open j2kim99 opened 5 years ago

j2kim99 commented 5 years ago

sudo npm install -g yo generator-arc 하면

npm ERR! Linux 4.13.0-32-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "yo" "generator-arc" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn

npm ERR! spawn-sync@1.0.15 postinstall: node postinstall npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the spawn-sync@1.0.15 postinstall script 'node postinstall'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the spawn-sync package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node postinstall npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs spawn-sync npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls spawn-sync npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/j2kim99/swpp/HW2/npm-debug.log

라는 에러가 나는데 이게 무슨 에러인가요?

minkiminki commented 5 years ago

일단 npm과 nodejs의 버전이 꽤 낮은 것 같습니다. 둘 다 버전을 올리고 다시 해보신 뒤 여전히 문제가 발생하면 알려주시기 바랍니다.