Home

Issue: 473

Problems with dev dependencies when deploying to Azure Web App

[issue link]

I’m just trialing out nuxt.js and i’m trying out deployment to an Azure Web App.

I’m experiencing issues when running npm run build requiring the dev dependencies (es-lint, etc) when building.

This happens even though the NODE_ENV environment variable is set to production and even if I run the command with a NODE_ENV prefix

set NODE_ENV=production&& npm run build

I can get it to build if I install the dev dependencies first.

I’m using node@6.9.5 and npm@3.10.10

This question is available on Nuxt.js community (#c412)