Open AshkanArabim opened 2 days ago
agree with this
I encountered an error during the installation process. After an hour of troubleshooting, I decided to run the installation as the root user, which ultimately resolved the issue. However, I would prefer not to have to use root privileges to install software, as it can pose security risks. Is there a way to troubleshoot or resolve the error without running as root?
my quick hack for that was
for file in $(ag -l 667 . | grep -vE "node_modules|assets"); do sed "s/667/8888/" -i $file; done
for file in $(ag -l 'localhost:667'); do sed 's/localhost:667/localhost:8888/g' -i $file; done
cd api; PORT=8888 npm run start
(you can also grep
instead of ag
)
agreed - will update ports thank you :)
On Linux and MacOS, by default, port numbers below 1024 require sudo permissions to bind to. Because of this, I have to run
sudo npm start
every time I want to use this app. This is not so nice because:root
, requiring me to need sudo permissions to delete them later.npm run dev
andnpm install
for the apps as root too, because they were created byroot
This will probably get closed, but I still want to know why the app is bound to port 667. Why not 6670?