Prevent writing package-lock.json in startup scripts
This commit is contained in:
@@ -102,7 +102,7 @@ if %errorlevel% neq 0 (
|
||||
|
||||
echo Installing npm packages and starting server
|
||||
set NODE_ENV=production
|
||||
call npm install --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
||||
call npm install --no-save --no-audit --no-fund --loglevel=error --no-progress --omit=dev
|
||||
node server.js %*
|
||||
|
||||
:end
|
||||
|
||||
Reference in New Issue
Block a user