npm-cli Questions

2

This recently broke and I do not know what I might have done to break it beyond adding some additional dependencies. I am using https://registry.npmjs.org/ (the default). The relevant portion of th...
Snead asked 28/11, 2018 at 18:13

6

Solved

I'm working on ubuntu 14.04, Is there any way to print all global modules (installed using npm) to the command line. How can I do this?
Blanchard asked 14/11, 2016 at 16:38

1

Solved

I've configured the email address on npmjs.com, why does the cli keep prompting me to enter email? $ npm login npm notice Log in on https://registry.npmjs.org/ Username: wenfangdu Password: Email: ...
Bullhead asked 1/4, 2021 at 6:38

1

Solved

When I do on my terminal: npm outdated -g I get a list of global packages that have updates available, and that's fine: Package Current Wanted Latest Location create-next-app 10.0.3 10.0.4 10.0.4 g...
Inositol asked 1/1, 2021 at 9:36

7

Solved

My package.json looks like: { "name": "99-nodetest", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "...
Funk asked 26/7, 2018 at 2:45

3

Solved

There is a very handy npm version command. Besides arguments like major, minor and patch it accepts arguments like prerelease, prepatch, etc. It says in the docs that the commands work in accordanc...
Therianthropic asked 15/6, 2017 at 12:3
1

© 2022 - 2024 — McMap. All rights reserved.