Commit bfad7eda by mvginghina

Switch to Node 18 and use npm

parent fe118f67
Showing with 2 additions and 3 deletions
......@@ -11,11 +11,11 @@ npm cache clean --force
# 3. Remove node_modules directory
echo "Removing node_modules directory..."
rm -rf node_modules package-lock.json
rm -rf node_modules
# 4. Instalează dependențele
echo "Installing dependencies..."
npm install --legacy-peer-deps --registry=https://registry.npmjs.org/
npm install --force --legacy-peer-deps
# 5. Construiește aplicația Next.js
echo "Building Next.js application..."
......@@ -24,4 +24,3 @@ npm run build
# 6. Pornește aplicația Next.js
echo "Starting Next.js application..."
npm start
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