Commit 685db3ec by mvginghina

Apply fixes for dependency issues

parent 7352e960
Showing with 3 additions and 3 deletions
......@@ -11,15 +11,15 @@ npm cache clean --force
# 3. Remove node_modules directory
echo "Removing node_modules directory..."
rm -rf node_modules
rm -rf node_modules package-lock.json
# 4. Instalează dependențele
echo "Installing dependencies..."
npm install --force --legacy-peer-deps --registry=https://registry.npmjs.org/
npm install --legacy-peer-deps --registry=https://registry.npmjs.org/
# 5. Construiește aplicația Next.js
echo "Building Next.js application..."
npm run build
npm run build || { echo "Build failed"; exit 1; }
# 6. Pornește aplicația Next.js
echo "Starting Next.js application..."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment