File tree Expand file tree Collapse file tree 3 files changed +2
-45
lines changed
usecases/ai/edge-ai-demo-studio Expand file tree Collapse file tree 3 files changed +2
-45
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -94,8 +94,7 @@ function Invoke-FrontendBuild {
9494 Write-Host " Building frontend application..." - ForegroundColor Green
9595 Push-Location $FRONTEND_DIR
9696 try {
97- npm install
98- npm run build
97+ ./ setup.ps1
9998 # Create frontend directory structure
10099 New-Item - ItemType Directory - Path " $TEMP_DIR /frontend" - Force | Out-Null
101100 New-Item - ItemType Directory - Path " $TEMP_DIR /frontend/.next" - Force | Out-Null
Original file line number Diff line number Diff line change @@ -154,8 +154,7 @@ setup_frontend_package() {
154154 if [ -d " $FRONTEND_DIR " ]; then
155155 echo " Building frontend application..."
156156 cd " $FRONTEND_DIR "
157- npm install || { echo " Frontend dependencies installation failed." ; exit 1; }
158- npm run build || { echo " Frontend build failed." ; exit 1; }
157+ ./setup.sh || { echo " Frontend setup failed." ; exit 1; }
159158 rsync -av .next/standalone/ " $TEMP_DIR /frontend/" || { echo " Failed to copy standalone frontend build files to temp directory." ; exit 1; }
160159 rsync -av .next/static/ " $TEMP_DIR /frontend/.next/static/" || { echo " Failed to copy static frontend build files to temp directory." ; exit 1; }
161160 cd -
You can’t perform that action at this time.
0 commit comments