IMO this doesn't work because at the time you call
require("ble_eddystone"), the Puck is already left alone without any link to reach the module source. What you could try is to upload in the Puck a script like
Then on your web page , the command should be
This way, you ensure the module
ble_eddystoneis already available on the Puck.