chore: Codespace webpacker fix (#4887)
- fixes the webpacker error when running overmind start -f Procfile.dev
This commit is contained in:
@@ -7,7 +7,7 @@ sed -i -e "/WEBPACKER_DEV_SERVER_PUBLIC/ s/=.*/=https:\/\/$CODESPACE_NAME-3035.g
|
|||||||
# uncomment the webpacker env variable
|
# uncomment the webpacker env variable
|
||||||
sed -i -e '/WEBPACKER_DEV_SERVER_PUBLIC/s/^# //' .env
|
sed -i -e '/WEBPACKER_DEV_SERVER_PUBLIC/s/^# //' .env
|
||||||
# fix the error with webpacker
|
# 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
|
# codespaces make the ports public
|
||||||
gh codespace ports visibility 3000:public 3035:public 8025:public -c $CODESPACE_NAME
|
gh codespace ports visibility 3000:public 3035:public 8025:public -c $CODESPACE_NAME
|
||||||
|
|||||||
Reference in New Issue
Block a user