From 6c6df8661b2b3bf6e4908465065469aa6fa898a7 Mon Sep 17 00:00:00 2001 From: Sojan Jose Date: Fri, 17 Jun 2022 19:12:56 +0530 Subject: [PATCH] chore: Codespace webpacker fix (#4887) - fixes the webpacker error when running overmind start -f Procfile.dev --- .devcontainer/scripts/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/scripts/setup.sh b/.devcontainer/scripts/setup.sh index 32ba272a8..4ffee2d3a 100755 --- a/.devcontainer/scripts/setup.sh +++ b/.devcontainer/scripts/setup.sh @@ -7,7 +7,7 @@ sed -i -e "/WEBPACKER_DEV_SERVER_PUBLIC/ s/=.*/=https:\/\/$CODESPACE_NAME-3035.g # uncomment the webpacker env variable sed -i -e '/WEBPACKER_DEV_SERVER_PUBLIC/s/^# //' .env # fix the error with webpacker -echo 'export NODE_OPTIONS=--openssl-legacy-provider' >> ~/.bashrc +echo 'export NODE_OPTIONS=--openssl-legacy-provider' >> ~/.zshrc # codespaces make the ports public gh codespace ports visibility 3000:public 3035:public 8025:public -c $CODESPACE_NAME