I created an ArangoDB Foxx service, and successfully mounted it on some route using Foxx CLI. My service has a dependency which uses randombytes
. When I call the service it returns an error saying `randomBytes is not a function.
For testing purposes I have created another service and just returned typeof require('randombytes')
. And it returned undefined
.
During installation Foxx CLI didn't warn me anything.
Does anyone had such experience?