MattIPv4 / DNS-over-Discord

1.1.1.1 works from a Discord server, thanks to the 1.1.1.1 bot. Invite the bot to your Discord server to start using DNS over Discord.
https://dns-over-discord.v4.wtf/invite
Apache License 2.0
281 stars 28 forks source link

Errors #34

Closed omsenjalia closed 3 years ago

omsenjalia commented 3 years ago

Screenshot_20210528-233033_Brave

MattIPv4 commented 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.

omsenjalia commented 3 years ago

I have installed all the dependencies

omsenjalia commented 3 years ago

Same error

MattIPv4 commented 3 years ago

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.

omsenjalia commented 3 years ago

Sure, Sure, I'll try

omsenjalia commented 3 years ago

Screenshot_20210528-234903_Brave

MattIPv4 commented 3 years ago

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.