Where are you getting the example from? Also, can you post the code you are using?
Cheers, Jon On Tue, Jun 30, 2020 at 8:35 PM jennifer Dsilva <jenniferdsilv...@gmail.com> wrote: > Not able to test node.js first demo program. Run throws error > > I am getting below error when I have executed the first demo program: > > Bonescript: initialized > > Exception: TypeError: require is not a function > > Bonescript: initialized > > How to solve this? > > Thanks > > -- > 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 beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/db0e3f88-8904-461e-bc73-680c7023b72bo%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/db0e3f88-8904-461e-bc73-680c7023b72bo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bko%3D0QkyNBJ_x0ahUqW3uNmbx23rhLtKFCxh%2Bspcxo%2Br2A%40mail.gmail.com.