On Fri, Sep 6, 2019 at 2:55 PM Albert <[email protected]> wrote: > > Hi, Robert. Thanks for quick reply. > Indeed, after changing to ExecStart=/var/lib/cloud9/Projects/scriptname.sh > It still showing error. > > Do you or anyone knows how to solve the problem? > > > ● scriptname.service > Loaded: loaded (/etc/systemd/system/scriptname.service; enabled; vendor > preset: enabled) > Active: failed (Result: exit-code) since Fri 2019-09-06 19:52:26 UTC; 15s > ago > Main PID: 2595 (code=exited, status=1/FAILURE) > > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at > Object.Module._extensions..js (module.js:586:10) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at Module.load > (module.js:494:32) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at tryModuleLoad > (module.js:453:12) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at Function.Module._load > (module.js:445:3) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at Module.runMain > (module.js:611:10) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at run > (bootstrap_node.js:394:7) > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at startup > (bootstrap_node.js:160:9) > Sep 06 19:52:26 beaglebone systemd[1]: scriptname.service: Main process > exited, code=exited, status=1/FAILURE > Sep 06 19:52:26 beaglebone scriptname.sh[2595]: at startup > (bootstrap_node.js:160:9) > Sep 06 19:52:26 beaglebone systemd[1]: scriptname.service: Main process > exited, code=exited, status=1/FAILURE > lines 1-13...skipping...
Looks like: NODE_PATH=/usr/lib/node_modules is not set.. Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYgXiDZ5wrzDS71c6wW9bAGrFZ1SC%3Dya6AmHj1UadvyhiA%40mail.gmail.com.
