Louis Deconinck
12/11/2025, 7:28 AM/usr/src/app/node_modules/apify/charging.js:329const price = this.isAtHome ? this.pricingInfo[eventName].price : 1; // Use a nonzero price for local development so that the maximum budget can be reached
TypeError: Cannot read properties of undefined (reading 'price')
at ChargingManager.calculateMaxEventChargeCountWithinLimit (/usr/src/app/node_modules/apify/charging.js:329:67)
at file:///usr/src/app/dist/main.js:14:44
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
This is cumbersome as it requires me to rebuild the actor a couple fo times. I only get this error when running on Apify, not locally. Am I doing something wrong?Answer Overflow
12/11/2025, 7:28 AM