chore: Codespace webpacker fix (#4887)
- fixes the webpacker error when running overmind start -f Procfile.dev
This commit is contained in:
parent
db86263353
commit
6c6df8661b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue