Showing posts with label PROBLEM. Show all posts
Showing posts with label PROBLEM. Show all posts
Published October 26, 2022 by RIT with 0 comment

CARA MENGATASI $ is not a function PADA JQUERY

how to this.M_Modal is undefined
source logo : www.freebiesupply.com


Assalamualaikum warohmatullohi wabarokatuh,
Wa alaikum salam warohmatullohi wabarokatuh,

Sebelum kalian mencoba kode ini, pastikan terlebih dahulu source atribut nya sudah benar, berikut contoh source atribut yang dimaksud : :




Jadi pastikan terlebih dahulu source nya benar, karena pada kasus saya, saya menggunakan source eksternal yang saya letakkan pada footer. Dan pada source nya sudah benar namun saat di run, munculah error. Berikut gambar errornya Ketika diinspect element.

berikut kode yang harus kalian copy dan pastekan pada file javascript eksternal.



Demikian cara mengatasi CARA MENGATASI $ is not a function PADA JQUERY , jika ada kesulitan mengenai artikel ini, bisa tinggalkan komentar dibawah ini. Terima Kasih

TAG TAGS :
CARA MENGATASI $ is not a function PADA JQUERY | MENGATASI $ is not a function PADA JQUERY | CARA MENGATASI $ is not a function | langsungkoding.blogspot.com | langsungkoding |


BACA JUGA :
Read More
      edit
Published April 13, 2021 by RIT with 0 comment

CARA MENGATASI ERROR NODEMON. PS1

source logo : www.commons.wikimedia.org


ASSALAMUALAIKUM Warohmatullohi Wabarokatuh

WA ALAIKUM SALAM Warohmatullohi Wabarokatuh

apakah saat ini kalian sedang mengalami nodemon error seperti ini ?


[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version.
To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.



Cara menyelesaikannya kalian buka letak folder installan nodejs lalu cari file nama PS1 lalu hapus permanen, jika kalian ragu pindahkan saja file PS1. Lalu jalankan kembali nodemon kalian.

enjoy it.



Terima Kasih
Thank's

TAG TAGS :
cara mengatasi error nodemon ps1| cara mengatasi ps1 nodemon | how to solved ps1 in nodemon | how to solved ps1 nodemon | nodemon | nodejs | error nodemon ps1 pada node js

BACA JUGA :
SOURCE :
Read More
      edit
Published April 11, 2021 by RIT with 0 comment

CARA MENGATASI ERROR DeprecationWarning PADA MONGODB

source logo : www.mongodb.com


ASSALAMUALAIKUM Warohmatullohi Wabarokatuh

WA ALAIKUM SALAM Warohmatullohi Wabarokatuh



Apakah saat ini kalian sedang mengalami error seperti ini ?



node:6208) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
(Use `node --trace-deprecation ...` to show where the warning was created)



Ini terjadi karena versi pada mongodb anda diatas versi 3 menurut referensi yang saya baca kurang lebih serpti itu, cara mengatasinya kalian tambahkan useNewUrlParser: true pada mongoose.connect berikut contoh script nya

mongoose.connect("url database kamu", { useNewUrlParser: true });



Adapun error seperti ini setelah masalah diatas sudah selesai, jadi saat menejalankan dengan kode node nama_file.js terdapat error seeprti ini :


[MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version.
To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.



Maka tambahkan script ini useUnifiedTopology: true disampingnya kode useNewUrlParser: true
contoh script nya dibawah ini :


mongoose.connect("url database kamu", { useNewUrlParser: true, useUnifiedTopology: true });



enjoy it.
Terima Kasih
Thank's

TAG TAGS :
cara mengatasi deprecationWarning mongo | cara mengatasi deprecationWarning pada mongodb | how to solved deprecationWarning in mongo | how to solved deprecationWarning in mongodb mongo db | mongo database

BACA JUGA :
SOURCE :
Read More
      edit