Sugeng rawuh

PM2 for Node.js developers - settings in my application

Installing pm2Firstly, pm2 should be installed globally to run several applications.npm install pm2 -gpm2 uses a configuration file to maintain the application.it can be either JSON or js or YAML file.Here, we are going to use process.json file which will have the configuration for our application.Application SetupCreate a simple node.js...
Share:

fix problem UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read property 'default' of undefined

whatsapp-web.js from pedroslopezI got an error yesterday, February 28, 2021Error: Evaluation failed: TypeError: Cannot read property 'default' of undefinedfix1. npm i whatsapp-web.js2. npm audit ...
Share:

Mysql in Ubuntu 20 error Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corrupted

 Message Error : Column count of mysql.proc is wrong. Expected 20, found 16. The table is probably corruptedFix my Problem :1. open terminal2. write coment : sudo /opt/lampp/bin/mysql_upgrade3. restart apache4. finish. i had the error when created a stored procedure my...
Share:

Cannot send email from VPS with CodeIgniter

Gagal mengirim Email Gmail dari VPSTernyata tidak hanya saya saja yang mengalamai kendala saat mengirim Email khususny Gmail dari website dengan menggunakan VPS. masalah ini sudah saya alami sejak 2013, dan hari ini saya mencoba kembali apakah masih sama dengan source code yang tentunya berbeda. Saya menggunakan CI 3 untuk saat ini, source code sesuai...
Share:

Auto run node js if reboot system

Image : list pm2 , check after reboot system Auto run node js if reboot system1. Install PM2 globally using NPMnpm install pm2 -g2.Start your script with pm2pm2 start app.js3. generate an active startup scriptpm2 startupNOTE: pm2 startup is for startting the PM2 when the...
Share:

Puppeteer can't launch chromium, missing shared library libgbm.so - ubuntu

sudo apt-get updatesudo apt-get install -y libgbm-...
Share:

Update password root phpmyadmin ubuntu 20

 Try restart mysql-server before execution the comandssudo service mysql restart MYSQL-SERVER >= 5.7sudo mysql -uroot -p USE mysql; UPDATE user SET authentication_string=PASSWORD('YOUR_PASSWORD') WHERE User='root'; UPDATE user SET plugin="mysql_native_password"; FLUSH PRIVILEGES; quit; MYSQL-SERVER < 5.7sudo mysql -uroot -p USE mysql; UPDATE...
Share:

Tonton video



Yuk, SUBSCRIBE

omfiki.blogspot.com