Friday 23 February 2018

How to use a shell script to run node.js files?

Hello, I am trying to execute node.js from a shell script. Anyone know why this is not working? The node.js files are in the same folder I am running the script, but it says cannot find module. Heres my code.!/bin/shset -xexport EB_TOKEN='99FASDOFHIOEWEOE0D'sleep 5node build.jssleep 5node updateEvents.jssleep 5node updateArchive.jssleep 5

Submitted February 23, 2018 at 06:47PM by PleaseTheWalrus

No comments:

Post a Comment