jquery - (NodeJS + Express) Server isn't reading linked javascript file(s) from html -
i'm stuck, managed server on webhost working on aws + else in express.js have error: root@ip(censored):/home/ubuntu/(censored)# /home/ubuntu/(censored)/routes/index.js:15 $(document).ready(function() { ^ referenceerror: document not defined @ object.<anonymous> (/home/ubuntu/(censored)/routes/index.js:15:3) @ module._compile (module.js:570:32) @ object.module._extensions..js (module.js:579:10) @ module.load (module.js:487:32) @ trymoduleload (module.js:446:12) @ function.module._load (module.js:438:3) @ module.require (module.js:497:17) @ require (internal/module.js:20:19) @ object.<anonymous> (/home/ubuntu/forbiddenground/app.js:12:14) @ module._compile (module.js:570:32) @ object.module._extensions..js (module.js:579:10) @ module.load (module.js:487:32) @ trymoduleload (module.js:446:12) @ function.module._load (module.js:438:3) @ module.runmain (module.js:604:10) @ run (bootstrap_node.js:394:7) ...