• 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

    var beacon=require("ble_eddystone");
    save();
    

    Then on your web page , the command should be <button onClick="Puck.write('NRF.setAdvertising(­[beacon.get("goo.gl/B3J0Oc")]);\n');">Ad­vertise</button>.
    This way, you ensure the module ble_eddystoneis already available on the Puck.

About