How to add external CSS/JS libraries via library API and including these libraries in a field widget? [closed]

My new libraries aren’t loaded when adding them either by drupal_add_library(‘mymodule’, ‘mylibrary’); nor by altering widget’s #attached library property. I’ve also tested that libraries are found and installed but from console I can see that CSS/JS isn’t requested and also scripts/page breaks due to undefined functions etc… I’ve registered these external libraries via hook_libraries_info() by…

Details

Sequelize TypeError: Cannot convert undefined or null to object

I’m trying to use sequelize model with an existing database in SQL Server. When I try to retrieve data from a table using raw query it works. But when I use a model I receive the follow error: Error Occurred TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at Function.findAll (D:\Users\carlosli\Desktop\SigaWeb\node_modules\sequelize\lib\model.js:1692:47) at…

Details