Skip to content

Commit

Permalink
chore: Codespace webpacker fix (chatwoot#4887)
Browse files Browse the repository at this point in the history
- fixes the webpacker error when running overmind start -f Procfile.dev
  • Loading branch information
sojan-official authored Jun 17, 2022
1 parent db86263 commit 6c6df86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6c6df86

Please sign in to comment.