11
[email protected]:/var/www/html$ npm install fs
npm WARN package.json [email protected] crypto is also the name of a node core module.
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] http is also the name of a node core module.
npm WARN package.json [email protected] No description
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] querystring is also the name of a node core module.
npm WARN package.json [email protected] url is also the name of a node core module.
npm WARN package.json [email protected] util is also the name of a node core module.
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'fs' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! 시스템 리눅스 3.13.0-24 - 일반 npm ERR! 명령 "/ usr/local/bin/node" "/ usr/local/bin/npm" "설치" "fs" npm ERR! cwd/var/www/html npm ERR! 노드 -v v0.10.29 npm ERR! npm -v 1.4.14 npm ERR! 코드 E404 npm ERR! 오류 : EACCES, 'npm-debug.log'열기 npm ERR! {3), 코드 : 'EACCES', 경로 : 'npm-debug.log'}node.js npm install fs 오류
npm ERR! root/Administrator로이 명령을 다시 실행하십시오.
npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "fs"
npm ERR! cwd /var/www/html
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.14
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /var/www/html/npm-debug.log
npm ERR! not ok code 0
필자는 "npm install fs"라고 입력했지만이 오류가 표시됩니다.
http://stackoverflow.com/questions/41821698/npm-install-error-issue –