Requiring Chroma.js [1] results in a failure to eval the code, with an error that just says "undefined" [1] https://github.com/gka/chroma.js/
Minimal code:
(ns app.chroma
(:require
["chroma-js" :as cm]))
After compilation, refresh the browser and the console gives two errors as shown in the attached picture:
main.js:1672 An error occurred when loading app.chroma.js
env.evalLoad @ main.js:1672
(anonymous) @ main.js:1886
main.js:1673 undefined
env.evalLoad @ main.js:1673
(anonymous) @ main.js:1886