Last active
December 29, 2018 04:46
-
-
Save abhitechno01/4338778d582f7e78d4c4059630b20c96 to your computer and use it in GitHub Desktop.
Commands to fix development issues when working with laravel, angular and their dependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############################################## | |
| For gulp issue run - enospc --> Error no space | |
| ############################################## | |
| echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p | |
| ######################### | |
| Composer memory issue | |
| ######################### | |
| df -h | |
| dd if=/dev/zero of=/swapfile bs=1M count=1024 | |
| mkswap /swapfile | |
| chmod 600 /swapfile | |
| swapon /swapfile | |
| echo 'echo "/swapfile none swap defaults 0 0" >> /etc/fstab' | sudo sh | |
| free -m | |
| Now verify the process, by running free -m | |
| it should show swap row with total column having value 1023 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment