Skip to content

Built the prod version, now what?  #3

@tmarkson

Description

@tmarkson

I was able to compile the prod release.
After running node app.js first time, I needed to install xmlhttprequest.
After doing that, here is the output error and I'm not sure what to do. Would you help?

:~/MeshMon/resources/public/js/compiled $ node app.js
shadow-cljs - failed to load 21
shadow-cljs - failed to load 22
shadow-cljs - failed to load 29
shadow-cljs - failed to load 30
shadow-cljs - failed to load 53
/home/tcm/MeshMon/resources/public/js/compiled/app.js:1071
"errors","errors",-908790718),An=new C(null,"groupEnd","groupEnd",-337721382),Bn=new C(null,"atom","atom",-397043653),Cn=new C(null,"response-format","response-format",1664465322);var Dn={},En={},Fn=[];function Gn(a,b){var c=En[a];if(void 0!==c)return c;try{Fn.push(a);var d=Dn[a],e=shadow$provide[a];if(void 0===d){if(void 0===e)throw"Module not provided: "+a;d={exports:{}};Dn[a]=d}if(e){delete shadow$provide[a];try{e.call(d,ba,Gn,d,d.exports)}catch(h){throw console.warn("shadow-cljs - failed to load",a),h;}if(b){var f=b.globals;if(f)for(a=0;a<f.length;a++)window[f[a]]=d.exports}}}finally{Fn.pop()}return d.exports}Gn.cache={};Gn.resolve=function(a){return a};var Hn=Gn(3,{});var In=Gn(12,{});function Jn(a,b,c){var d=v(b.ignoreCase)?"gi":"g";d=v(b.multiline)?[d,"m"].join(""):d;return a.replace(new RegExp(b.source,v(b.unicode)?[d,"u"].join(""):d),c)}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ^

ReferenceError: window is not defined
    at /home/tcm/MeshMon/resources/public/js/compiled/app.js:304:276
    at /home/tcm/MeshMon/resources/public/js/compiled/app.js:276:99
    at shadow$provide.<computed> (/home/tcm/MeshMon/resources/public/js/compiled/app.js:276:237)
    at Gn (/home/tcm/MeshMon/resources/public/js/compiled/app.js:1071:422)
    at shadow$provide.<computed> (/home/tcm/MeshMon/resources/public/js/compiled/app.js:566:409)
    at Gn (/home/tcm/MeshMon/resources/public/js/compiled/app.js:1071:422)
    at shadow$provide.<computed> (/home/tcm/MeshMon/resources/public/js/compiled/app.js:583:290)
    at Gn (/home/tcm/MeshMon/resources/public/js/compiled/app.js:1071:422)
    at shadow$provide.<computed> (/home/tcm/MeshMon/resources/public/js/compiled/app.js:584:401)
    at Gn (/home/tcm/MeshMon/resources/public/js/compiled/app.js:1071:422)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions