Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Wrangler Installation Issues with MacOS #1590

Closed
Dextario opened this issue Oct 9, 2020 · 3 comments
Closed

Wrangler Installation Issues with MacOS #1590

Dextario opened this issue Oct 9, 2020 · 3 comments

Comments

@Dextario
Copy link

Dextario commented Oct 9, 2020

🐛 Bug Report

I am trying to install Cloudflare's Wrangler to my VS Code.

When I go into my VS Code and use npm i @cloudflare/wrangler -g all goes well with the installation. However, when I attempt to do wrangler as a command it tells me zsh: command not found: wrangler . I am not sure how I can fix this. I've tried a lot of different things online and scoured Cloudflare's resources for an answer, but to no avail.

Environment

  • operating system: MacOS
  • output of rustc -V: zsh: command not found: rustc
  • output of node -v: v12.19.0
  • output of wrangler -V: zsh: command not found: wrangler - This is my issue
  • contents of wrangler.toml zsh: command not found: wrangler.toml

Steps to reproduce

Anytime I attempt to use wrangler my zsh will write back command not found wrangler.

What did you expect to see? Wrangler to create a project or show that it has been installed correctly.

What did you see instead?

@berkant
Copy link

berkant commented Oct 10, 2020

It seems like your $PATH does not include the path to globally installed Node.js executables. Do you also have the same problem with other NPM modules?

See npm help folders.

@Electroid
Copy link
Contributor

It's likely that the issue is #1587, and since the binary never downloaded, that's why the wrangler command is not found.

@Electroid
Copy link
Contributor

(You can follow that issue thread, we're working on a fix!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants