mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-10-23 07:42:05 +00:00
fixed lefthook error on setup.sh
This commit is contained in:
6
setup.sh
6
setup.sh
@@ -722,7 +722,7 @@ install_dependencies() {
|
||||
export NPM_CONFIG_CACHE=$APP_DIR/.npm
|
||||
export NPM_CONFIG_PREFIX=$APP_DIR/.npm-global
|
||||
export NPM_CONFIG_TMP=$APP_DIR/.npm/tmp
|
||||
npm install --omit=dev --no-audit --no-fund --no-save
|
||||
npm install --omit=dev --no-audit --no-fund --no-save --ignore-scripts
|
||||
"; then
|
||||
print_error "Failed to install root dependencies"
|
||||
return 1
|
||||
@@ -737,7 +737,7 @@ install_dependencies() {
|
||||
export NPM_CONFIG_CACHE=$APP_DIR/.npm
|
||||
export NPM_CONFIG_PREFIX=$APP_DIR/.npm-global
|
||||
export NPM_CONFIG_TMP=$APP_DIR/.npm/tmp
|
||||
npm install --omit=dev --no-audit --no-fund --no-save
|
||||
npm install --omit=dev --no-audit --no-fund --no-save --ignore-scripts
|
||||
"; then
|
||||
print_error "Failed to install backend dependencies"
|
||||
return 1
|
||||
@@ -753,7 +753,7 @@ install_dependencies() {
|
||||
export NPM_CONFIG_CACHE=$APP_DIR/.npm
|
||||
export NPM_CONFIG_PREFIX=$APP_DIR/.npm-global
|
||||
export NPM_CONFIG_TMP=$APP_DIR/.npm/tmp
|
||||
npm install --no-audit --no-fund --no-save
|
||||
npm install --no-audit --no-fund --no-save --ignore-scripts
|
||||
"; then
|
||||
print_error "Failed to install frontend dependencies"
|
||||
return 1
|
||||
|
Reference in New Issue
Block a user