We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b86ee17 commit c890cd9Copy full SHA for c890cd9
netepscript.sh
@@ -185,7 +185,7 @@ case "$db_choice" in
185
echo -e "\n# MongoDB Configuration\nMONGO_URI=mongodb://localhost:27017/your_database" >> .env
186
;;
187
"4")
188
- echo
+ echo "Installing typeORM dependencies..."
189
bash typeOrm.sh
190
191
"5")
@@ -197,7 +197,11 @@ case "$db_choice" in
197
esac
198
199
PACKAGE_JSON="./package.json"
200
-sed -i 's/\^//g' "$PACKAGE_JSON"
+if [[ "$OSTYPE" == "darwin"* ]]; then
201
+ sed -i '' 's/\^//g' "$PACKAGE_JSON"
202
+else
203
+ sed -i 's/\^//g' "$PACKAGE_JSON"
204
+fi
205
206
echo -e "${GREEN}=========================================================${NC}"
207
echo -e "${RED} ${BOLD}Follow us on GitHub:${NC}"
0 commit comments