Posts

Showing posts from November, 2021

Ubuntu 18.04 npm install got error EMISSINGARG / 우분투18.04 nodejs npm install 에러

 As I setup ubuntu 18.04 and node app server, I found that funny error as follows: when I install nodejs and npm with apt.  It shows error msg like EMISSINGARG. npm ERR! Linux 4.15.0-139-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v8.10.0 npm ERR! npm v3.5.2 npm ERR! code EMISSINGARG npm ERR! typeerror Error: Missing required argument #1 npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3) npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22) npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12) npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7 npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50 npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12 npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82: