ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 31 - Certified JavaScript Developer I discussion

Report
Export

A team that works on a big project uses npm to deal with projects dependencies.

A developer added a dependency does not get downloaded when they execute npm install.

Which two reasons could be possible explanations for this?

Choose 2 answers

A.
The developer missed the option --add when adding the dependency.
Answers
A.
The developer missed the option --add when adding the dependency.
B.
The developer added the dependency as a dev dependency, andNODE_ENVIs set to production.
Answers
B.
The developer added the dependency as a dev dependency, andNODE_ENVIs set to production.
C.
The developer missed the option --save when adding the dependency.
Answers
C.
The developer missed the option --save when adding the dependency.
D.
Answers
D.
Suggested answer: B, C, D

Explanation:

Choose 2 answers

A. The developer missed the option --add when adding the dependency.

B. The developer added the dependency as a dev dependency, and

NODE_ENV

Is set to production.

C. The developer missed the option --save when adding the dependency.

D. The developer added the dependency as a dev dependency, and

NODE_ENV is set to production.

Answer: BCD

Explanation:

asked 23/09/2024
Darin Ambrose
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first