3 ms·
A little hard to exactly know your inputs, but it seems like you used the query between the quotes. The "-" excludes the "D" from the search. Wrap it in quotes
by rainbowzootsuit 4y ago
A little hard to exactly know your inputs, but it seems like you used the query between the quotes. The "-" excludes the "D" from the search.
Wrap it in quotes:
npm install "-D"
Or without the "-":
npm install D
Seem to give more relevant results by cursory testing than
npm install -D
- spaceman_2020 4y agoThe top most result is just the npm core documentation. The first reference to -D is 658 words down, whereas ChatGPT has a precise answer. It's not just better, it's miles better.
- wruza 4y agoMy top result is a SO page with that exact question. Our mileages wary, I guess.