Welcome to the Linux Foundation Forum!

Question 6.3

Options

Question: If a package dependency has a development dependency, in what scenario, if any, will the development dependency be installed?

If we use npm install inside package folder it will install dev dependency also but the answer marked was 'Never'..

Comments

  • nico385412
    Options

    I totally agree with you. I think it's a mistake :/

  • davidmarkclements
    Options

    No - "Never" is the correct answer.

    If a package dependency HAS a development dependency.

    Package -> dependency -> development dependency

    not

    Package -> development dependency

    dev deps of sub deps never install

Categories

Upcoming Training