Little tweaks to make it work... In a devcontainer anyway....

This commit is contained in:
2025-07-25 21:32:20 -03:00
parent 9eb293ccb1
commit f17c0d08a1
110 changed files with 10672 additions and 1246 deletions

View File

@@ -0,0 +1,31 @@
#!/bin/bash
set -e
echo "Setting up PfosiLooking monorepo dependencies..."
echo "Using Node version: $(node --version)"
# Install root dependencies first
echo "Installing root dependencies..."
npm install
echo "Installing backend dependencies..."
cd backend && npm install
cd ..
echo "Installing app dependencies (Ionic 3 with legacy packages)..."
cd app
# For Node 14 and older Ionic 3 projects, we need special handling
echo "Installing with legacy peer dependencies support..."
if npm install --legacy-peer-deps; then
echo "App dependencies installed successfully!"
else
echo "Standard install failed, trying alternative approach..."
# Try with force flag as last resort for very old packages
npm install --legacy-peer-deps --force
fi
cd ..
echo "All dependencies installed successfully!"
echo "You can now start development with: npm run dev:all"