Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 BUG:Access violation error on Windows with Wrangler #7305

Open
amandwivedi1357 opened this issue Nov 20, 2024 · 1 comment
Open

🐛 BUG:Access violation error on Windows with Wrangler #7305

amandwivedi1357 opened this issue Nov 20, 2024 · 1 comment
Labels
bug Something that isn't working

Comments

@amandwivedi1357
Copy link

amandwivedi1357 commented Nov 20, 2024

Which Cloudflare product(s) does this pertain to?

Wrangler

What version(s) of the tool(s) are you using?

"wrangler": "^3.60.3"

What version of Node are you using?

v18.18.0

What operating system and version are you using?

windows 10

Describe the Bug

Observed behavior

I encountered an access violation error when trying to run wrangler dev on my Windows machine.

Expected behavior

Please describe.
Wrangler should start the Workers runtime without errors.

Steps to reproduce

Install Wrangler globally: npm install -g wrangler
Run wrangler dev in my project folder.

below is the error i am getting
X [ERROR] There was an access violation in the runtime.
On Windows, this may be caused by an outdated Microsoft Visual C++ Redistributable library.

System Information:

Node.js version: v18.18.0
Wrangler version: 3.60.3
OS: Windows 10

Additional Information: I have updated the necessary Visual C++ Redistributable libraries, but the error persists. I’ve also tried running as administrator and in local mode (wrangler dev --local), but the issue remains.

A git repo we can clone and run a test suite on, or which has a README with step-by-step instructions, is even better. In this case, please use the field below to provide a link to the minimal repro.
https://github.com/amandwivedi1357/serverless-backend

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

⛅️ wrangler 3.88.0

⎔ Starting local server...
X [ERROR] There was an access violation in the runtime.

On Windows, this may be caused by an outdated Microsoft Visual C++ Redistributable library.
See https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist.

See https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist.

X [ERROR] The Workers runtime failed to start. There is likely additional logging output above.

@amandwivedi1357 amandwivedi1357 added the bug Something that isn't working label Nov 20, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Nov 20, 2024
@penalosa
Copy link
Contributor

Could you try updating to the latest version of Wrangler, and provide the exact versions of Wrangler, Node, Windows and the Microsoft Visual C++ Redistributable library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
Status: Untriaged
Development

No branches or pull requests

2 participants