File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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)..."
You can’t perform that action at this time.
0 commit comments