quaertym / ember-cli-dependency-checker

Ember CLI addon for checking missing node and bower dependencies before running ember commands
MIT License
40 stars 38 forks source link

dev dependencies required to be installed before running ember-deploy #72

Closed azuruce closed 6 years ago

azuruce commented 7 years ago

I have dev dependencies such as http-proxy, express in package.json. I can use "npm install --production" to install all production dependencies, but I can't deploy using ember deploy b/c the dependency checker will flag those missing dependencies.

Pezmc commented 6 years ago

I'm also having this problem, we moved all testing dependencies into devDependencies and ones required to build the project to dependencies, but ember-cli-dependency-checker complains that the devDependencies aren't installed and prevents ember build --prod from running!

rwjblue commented 6 years ago

You can disable this addon via an environment variable, but it is operating as intended (it should be validating both dependencies and devDependencies).

rwjblue commented 6 years ago

FWIW, I believe it is SKIP_DEPENDENCY_CHECKER= true ember build —prod

quaertym commented 6 years ago

Yep, for reference check this line.