Closed RiseVerse closed 10 months ago
It fixed.
I uninstalledย everything:
Just after, I reinstall all of themย with the last version, for Node.js the last version (non-stable).ย
I also:
I'm pretty sure it was Node.js that solved the problem because at every stage I tried to run the server.
When I installed the latest version of Node.js, I checked downloading all the necessary tools for compatibility (it seems that more things were installed this time).
Have a great day everyone, Maxime
Reinstall node.js with Automatically install the necessary tools works for me ๐ It download some windows framework, chocolate, python, etc.
This bug has nothing to do with node version, pnpm\yarn version, or wrangler version !!
It fixed.
I uninstalledย everything:
- NodeJS
- VSCode
- Microsoft Visual Distribution
Just after, I reinstall all of themย with the last version, for Node.js the last version (non-stable).ย
I also:
- Run System File Checker
- Run aย DISM
- Updated Windows
I'm pretty sure it was Node.js that solved the problem because at every stage I tried to run the server.
When I installed the latest version of Node.js, I checked downloading all the necessary tools for compatibility (it seems that more things were installed this time).
Have a great day everyone, Maxime
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
Wrangler 3.15.0
What version of Node are you using?
v20.9.0
What operating system are you using?
Windows 11 Pro
Describe the Bug
Hello everyone,
Hope you're all good.
I installed Node.js and VS Code on my machine to implement a Reverse Proxy.
So here is what I typed in my terminal:
"PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy> npx wranngler PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy> npx wrangler wrangler
Commands: wrangler docs [command..] ๐ Open wrangler's docs in your browser wrangler init [name] ๐ฅ Initialize a basic Worker project, including a wrangler.toml file wrangler generate [name] [template] โจ Generate a new Worker project from an existing Worker template. See https://github.com/cloudflare/templates wrangler dev [script] ๐ Start a local server for developing your worker wrangler deploy [script] ๐ Deploy your Worker to Cloudflare. [aliases: publish] wrangler delete [script] ๐ Delete your Worker from Cloudflare. wrangler tail [worker] ๐ฆ Starts a log tailing session for a published Worker.
wrangler secret ๐คซ Generate a secret that can be referenced in a Worker
wrangler secret:bulk [json] ๐๏ธ Bulk upload secrets for a Worker wrangler kv:namespace ๐๏ธ Interact with your Workers KV Namespaces wrangler kv:key ๐ Individually manage Workers KV key-value pairs wrangler kv:bulk ๐ช Interact with multiple Workers KV key-value pairs at once wrangler pages โก๏ธ Configure Cloudflare Pages wrangler queues ๐ถ Configure Workers Queues wrangler r2 ๐ฆ Interact with an R2 store wrangler dispatch-namespace ๐ฆ Interact with a dispatch namespace wrangler d1 ๐ Interact with a D1 database wrangler hyperdrive ๐ Configure Hyperdrive databases wrangler ai ๐ค Interact with AI models wrangler constellation ๐ค Interact with Constellation models wrangler vectorize ๐งฎ Interact with Vectorize indexes wrangler pubsub ๐ฎ Interact and manage Pub/Sub Brokers wrangler mtls-certificate ๐ชช Manage certificates used for mTLS connections wrangler login ๐ Login to Cloudflare wrangler logout ๐ช Logout from Cloudflare wrangler whoami ๐ต๏ธ Retrieve your user info and test your auth config
wrangler types ๐ Generate types from bindings & module rules in config
wrangler deployments ๐ข List and view details for deployments wrangler rollback [deployment-id] ๐ Rollback a deployment
Flags: -j, --experimental-json-config Experimental: Support wrangler.json [boolean] -c, --config Path to .toml configuration file [string] -e, --env Environment to use for operations and .env files [string]
-h, --help Show help [boolean] -v, --version Show version number [boolean] PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy> npx wrangler init -y โ ๏ธ wrangler 3.12.0 (update available 3.15.0)
Using npm as package manager. โฒ [WARNING] The
init
command is no longer supported. Please usenpm create cloudflare@2 -y -- --wrangler-defaults
instead.The
init
command will be removed in a future version.Running
npm create cloudflare@2 -y -- --wrangler-defaults
...using create-cloudflare version 2.6.2
โญ Create an application with Cloudflare Step 1 of 3 โ โ In which directory do you want to create your application? โ dir ./reverse-proxy-setup โ โ What type of application do you want to create? โ type "Hello World" Worker โ โ Do you want to use TypeScript? โ yes typescript โ โ Copying files from "hello-world" template โ โ Retrieving current workerd compatibility date โ compatibility date 2023-10-30 โ โ Couldn't find
git
installed on your machine. Continuing without git. โ โฐ Application createdโญ Installing dependencies Step 2 of 3 โ โ Installing dependencies โ installed via
npm install
โ โฐ Dependencies Installedโญ Deploy with Cloudflare Step 3 of 3 โ โ Do you want to deploy your application? โ no deploy via
npm run deploy
โ โ APPLICATION CREATED Deploy your application with npm run deploy โ โ Navigate to the new directory cd reverse-proxy-setup โ Run the development server npm run start โ Deploy your application npm run deploy โ Read the documentation https://developers.cloudflare.com/workers โ Stuck? Join us at https://discord.gg/cloudflaredev โ โฐ See you again soon!PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy> cd reverse-proxy-setup PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy\reverse-proxy-setup> npm run start
โ ๏ธ wrangler 3.15.0
โ Starting local server... X [ERROR] Error reloading local server: Error: write EOF
}
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ [b open a browser, [d] open Devtools, [l] turn off local mode, [c] clear console, [x] to exit โ โ โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ"
Do you have any solution?
PS: I tried using wrangler version 3.12.0 (perhaps more stable?), but it's always wrangler 3.15.0 that runs.
Have a great day, Maxime
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
PS C:\Users\Max\Downloads\RiseVerse Reverse Proxy\reverse-proxy-setup> npm run start
โ ๏ธ wrangler 3.15.0
โ Starting local server... X [ERROR] Error reloading local server: Error: write EOF
}