Fork me on GitHub
#re-frame
<
2017-12-29
>
Miloslav13:12:25

hello everyone!

Miloslav13:12:51

could you please help me with production build error?

ERROR: JSC_MISSING_PROVIDE_ERROR. required "clj_pouchdb.core" namespace never provided at /home/uyouthe/Repos/frontend/target/cljsbuild-compiler-1/frontend_boilerplate/db.js line 6 : 0
ERROR: JSC_MISSING_PROVIDE_ERROR. required "frontend_boilerplate.pages" namespace never provided at /home/uyouthe/Repos/frontend/target/cljsbuild-compiler-1/frontend_boilerplate/routes.js line 7 : 0
Idk why there's an error. Both namespaces are present and it also works in dev mode with figwheel

souenzzo13:12:02

double check your namespaces names/paths... For exaple, foo-bar.var should be on foo_bar/var.cljs. If its on foo-bar/var.cljs, will work on figwheel because it read all the files, but google closure will not find... @melvoloskov

Miloslav14:12:16

@souenzzo thanks a lot! it worked!