Skip to content

Commit b267157

Browse files
Update update.sh
1 parent 3aae3b7 commit b267157

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,10 @@ install_and_build() {
617617
log_error "package.json not found! Cannot install dependencies."
618618
return 1
619619
fi
620+
620621
log "Current working directory: $(pwd)"
622+
log "Current NODE_ENV: ${NODE_ENV:-<not set>}"
623+
log "Current npm config production: $(npm config get production)"
621624
# Check if package-lock.json exists (it should from the new release)
622625
if [ -f "package-lock.json" ]; then
623626
log "Using package-lock.json from new release"
@@ -643,6 +646,7 @@ install_and_build() {
643646
# Ensure NODE_ENV is not set to production during install (we need devDependencies for build)
644647
local old_node_env="${NODE_ENV:-}"
645648
export NODE_ENV=development
649+
log "Setting NODE_ENV=development to ensure devDependencies are installed"
646650

647651
# Run npm install to get ALL dependencies including devDependencies
648652
log "Running npm install --include=dev (this may take a few minutes)..."

0 commit comments

Comments
 (0)