I have something really weird going on in a project on one machine at least
Uncaught Error: Undefined nameToPath for moment
at visitNode (base.js:1357)
at visitNode (base.js:1355)
at visitNode (base.js:1355)
at visitNode (base.js:1355)
at visitNode (base.js:1355)
at Object.goog.writeScripts_ (base.js:1369)
at Object.goog.require [as require_figwheel_backup_] (base.js:706)
at (index):1
any idea what that could mean? funny thing is that this project works on another machine, but no amount of lein clean
or even checking it out fresh in another directory makes it work
everything seems to be compiled correctly and I even get the cljs repl, but the page doesn't load at all because
Uncaught ReferenceError: your-project is not defined
at (index):1
funny thing is also that the same commit works fine if I deploy it, so it's really juset a local problem
any idea what to look for maybe?
It's almost always some cache somewhere... I had some very weird things happen because the browser cache didn't clear. Have you tried a different browser?
yeah I tried everything
different browsers, clearing all sort of cache
but if it actually works on my linux machine and in prod then I'm really puzzled
I see things like https://stackoverflow.com/questions/55341643/undefined-nametopath-when-using-clojurescripts-npm-deps that seem related but I don't have any npm-deps
the only thing from cljsjs is probably [antizer "0.3.1"]
@andrea.crotti Hi! If you want you can try this library without shadow-cljs
- https://github.com/just-sultanov/ant-design
Unfortunately, I don’t have time to support antd v4.
Or you can use https://github.com/cljsjs/packages/tree/master/antd directly