Open snagovskiy opened 1 week ago
Remember that when you say it “doesn't work”, we cannot login to your computer and figure out what's wrong. You need to explain what you are doing, what you are expecting to happen, and what is actually happening. If there's an error, share the full error message, too :)
C:\Users\Alexander\Documents\testbot>npm run deploy
> testbot@0.0.0 deploy
> wrangler deploy
⛅️ wrangler 3.86.1
-------------------
X [ERROR] Build failed with 1 error:
X [ERROR] Unexpected "interface"
src/index.js:13:7:
13 │ export interface Env {
╵ ~~~~~~~~~
Remember that when you say it “doesn't work”, we cannot login to your computer and figure out what's wrong. You need to explain what you are doing, what you are expecting to happen, and what is actually happening. If there's an error, share the full error message, too :)
You're using TypeScript code but you didn't compile it … I have a feeling that you should maybe run a getting started tutorial and learn a bit more about programming before trying to use CFW for deploying your bot
this code does not work version: wangler 3.86.0