Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Mihai-Valeriu Ginghina
/
WBT2425_6
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
4
Merge Requests
2
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
685db3ec
authored
May 15, 2025
by
mvginghina
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Apply fixes for dependency issues
parent
7352e960
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
deploy.sh
deploy.sh
View file @
685db3ec
...
...
@@ -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..."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment