npm install eslint missing argument error
问题 Am trying to install eslint locally in a project folder. However installing as mentioned on https://eslint.org npm install eslint --save-dev returns the following error: npm ERR! Linux 4.15.0-70-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "eslint" "--save-dev" 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