sheltermanager

Open full view…

Missing JS file.

connor9220
Thu, 16 Jul 2020 22:49:17 GMT

The schema.js file is missing in release 43 and on git. Causing issues with the reports editor and SQL interface. No bundle directory under static/js either... ??

robinrt
Fri, 17 Jul 2020 09:07:17 GMT

It's part of the build - "make schema".

connor9220
Fri, 17 Jul 2020 22:23:26 GMT

Yup. Figured that out. Up till this point, I was just using what was in the src directory. Didn't think about having to build anything. One odd thing about the Makefile. The script/jsmin/jsmin was missing. I found it in node_modules/jsmin/bin and copied it to where the make file was expecting it and was able to build without any errors after that. It would break the rollup/minified options if toggled to true, which was something I was just turning on in our deployment.

robinrt
Sat, 18 Jul 2020 10:45:43 GMT

there's a make target to compile script/jsmin/jsmin.c - it's much faster than the js version. Since then though, it's been retired in the latest codebase and we use js jsmin with the rollup only.