Closed aviita closed 2 months ago
Not sure if selected correct repository to file this bug and would think this has been considered, but decided to make an issue on it before starting to modify the script my self. The build times are still not very optimal for me after starting to use Kudu with zip deploy and building on destination servers and noticed this.
Also the npm ci
takes exact package versions from package.lock.json
so should produce more stable build results as it does not modify the lock file.
Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure: https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano Azure App Service
Repro steps.
npx express-generator myExpressAppTest --view ejs
)Expected
Scripts does not call
npm install
, butnpm ci
.Actual
Script calls
npm install
Project structures.
Mention any other details that might be useful.
npm ci
is the command that is meant to be used in deployments instead ofnpm install
: