grunt.js을 설치하려고합니다. official docs 말한다, 나는 (내가 우분투 리눅스를 사용하고 있습니다) 루트로gruntjs (node.js/npm 패키지)를 설치하는 동안 오류가 발생했습니다.
npm install -g grunt-cli
를 실행해야합니다. 나는 시도하고있다 - 나는 다음과 같은 오류 얻을 : 아직도있는이 솔루션은 ... 내가 우분투를 oneiric 오셀롯을 매우 까다로운 사용하고 있었다
[1] why npm says `sudon't` and grunt docs says `do sudo`? And what is it all about?
[2] I want to install the grunt as a tool. Why does the message complains about missing package.json which is project-dependent (and I don't want to run grunt on any project, I want to install it globally first)?
[3] what can I do to make it install successfully?
어떤 노드 버전을 사용하고 있습니까? 이것은 오래전에 고쳐 졌던 것 같습니다 : http://stackoverflow.com/questions/4938592/how-why-does-npm-recommend-not-running-as-root – jgillich
0.4.9 oneiric ocelot packages. 글쎄, 나는 그것이 무엇인지 완전히 이해하지 못한다. 그러나 나는 단지'grunt.js'를 설치하려고한다. – ducin