Hi. I have a Rails 6 project and this library was conflicting with another package that I had installed. For some reason, the functionality remote: true from rails_ujs package (that use JQuery for this function) was not working. After I remove this library it started to work normally again. I will put here the packages versions and the trace stack for the error generate by this library. I say conflict because this library was working fine on development, but on production, where I compile all js files to one unique file, I got this error.
Rails 6.0.0
"@rails/ujs": "^6.0.0-alpha"
"bootstrap": "^4.3.1"
"jquery": "^3.5.1"
"popper.js": "^1.16.0"
"tempusdominus-bootstrap-4": "^5.1.2"
"tempusdominus-core": "^5.0.3"
The trace stack
Uncaught TypeError: t is not a function
at tempusdominus-bootstrap-4.js:31
at Object.<anonymous> (tempusdominus-bootstrap-4.js:30)
at Object.<anonymous> (application-2e0b3414c2caaddca3bc.js:1)
at n (bootstrap:19)
at Module.<anonymous> (application-2e0b3414c2caaddca3bc.js:1)
at n (bootstrap:19)
at bootstrap:83
at application-2e0b3414c2caaddca3bc.js:1
Hi. I have a Rails 6 project and this library was conflicting with another package that I had installed. For some reason, the functionality
remote: true
from rails_ujs package (that use JQuery for this function) was not working. After I remove this library it started to work normally again. I will put here the packages versions and the trace stack for the error generate by this library. I say conflict because this library was working fine on development, but on production, where I compile all js files to one unique file, I got this error.The trace stack