Hint: IF you dont need details (or you use defaults) try npm init -y - it will not ask you about anything.
npm init -y
Ie.
devto|⇒ npm init -y Wrote to /Users/pavel/projects/private/devto/package.json: { "name": "devto", "version": "1.0.0", "description": "", "main": "index.js", "dependencies": { "jsdom": "^16.2.2" }, "devDependencies": {}, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "Paweł Kowalski <pavelloz@gmail.com>", "license": "MIT" }
Also,
sudo npm install -g ./ - I wouldnt recommend this. npm link was implemented to do this ;)
sudo npm install -g ./
Yes definitely true i will add this points in post ❤
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hint: IF you dont need details (or you use defaults) try
npm init -y
- it will not ask you about anything.Ie.
Also,
sudo npm install -g ./
- I wouldnt recommend this. npm link was implemented to do this ;)Yes definitely true i will add this points in post ❤