The outdated documentation for drupal integration of nodejs using the nodejs module instructs me to start nodejs with the command node server.js
.
But neither server.js or app.js (replacement to server.js) exists
I can see a file called nodejs.js but running node nodejs.js
produces this error;
ReferenceError: jQuery is not defined
at Object.<anonymous> (/data/disk/o1/static/hood-7.43.1/sites/all/modules/nodejs/nodejs.js:132:4)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
What is the command for starting nodejs?
What is the command for starting nodejs?
it'snode server.js