Fork me on GitHub
#figwheel-main
<
2020-02-25
>
andrea.crotti15:02:15

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

andrea.crotti15:02:47

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

andrea.crotti15:02:29

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

andrea.crotti15:02:47

funny thing is also that the same commit works fine if I deploy it, so it's really juset a local problem

andrea.crotti15:02:56

any idea what to look for maybe?

practicalli-john00:02:03

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?

andrea.crotti14:02:10

yeah I tried everything

andrea.crotti14:02:23

different browsers, clearing all sort of cache

andrea.crotti14:02:39

but if it actually works on my linux machine and in prod then I'm really puzzled

andrea.crotti15:02:37

the only thing from cljsjs is probably [antizer "0.3.1"]

just.sultanov08:02:26

@U0524T275 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.