I just tested it out using this function and it worked for me:
exports = function () {
const ajv = require("ajv");
console.log("Made it this far");
console.log(JSON.stringify(ajv, null, 4));
return "All good";
}
I created the gz file with:
npm install ajv
tar -czf node_modules.tar.gz node_modules
Just to check – did you “REVIEW & DEPLOY” after uploading the modules?
