Cara Fix Error Invalid Configuration Object Pada Webpacker dan Ruby on Rails
- Categories:
- rails
- javascript
- ruby
Saat melakukan update aplikasi untuk menggunakan Ruby on Rails versi 6 dan Webpacker versi 5 dengan React JS, saya mendapatkan error dibawah ini.
Solusinya ternyata sangat mudah, cukup buat berkas app/javascript/packs/application.js
karena saat update dari versi Webpacker lama, berkas tersebut tidak otomatis dibuat.
Berikut isi app/javascript/packs/application.js
jika sejak awal menggunakan Ruby on Rails 6 dan Webpacker 5.
Jika ingin create file dari terminal dapat menjalankan perintah berikut.
Recent Posts
How to Defend Against Brute-Force and DoS Attacks with Fail2ban, Nginx limit_req, and iptables
In this tutorial, I’ll explain how to protect your public-facing Linux server and Nginx web server from common threats, including brute-force and DoS attacks.
Is Getting AWS Solutions Architect Associate Certification Worth It?
If you are a full-time Software Engineer, there's no strong need to pursue this certification.
DevSecOps
My Notes about DevSecOps
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.