Closed omsenjalia closed 3 years ago
Hi there! This project is designed to be run in the Cloudflare workers environment, not in a Node.js environment. Please make sure you have the dependencies installed that are needed to build and deploy the worker, and that you're actually deploying it to a Cloudflare workers environment.
You can re-open this issue, or create a new one, if you continue to encounter errors once you've installed the dependencies and are running the project in Cloudflare workers.
I have installed all the dependencies
Same error
Your screenshot shows you trying to run this in a Node.js environment -- that will not work. You need to follow the deployment instructions and deploy this in a Cloudflare Workers environment. If you continue to encounter errors once you are using the project in the intended environment, let me know and I'll take a closer look.
Sure, Sure, I'll try
I recommend making sure you're familiar with Cloudflare Workers generally before working with this project, you can learn more at https://developers.cloudflare.com/workers/get-started/guide
Please make sure you've also actually followed the steps in the readme for deploying the worker if you wish to run it yourself on Cloudflare Workers.