Skip to content

Can't use Netlify Dev #322

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

Closed
itaisteinherz opened this issue Jun 1, 2019 · 1 comment
Closed

Can't use Netlify Dev #322

itaisteinherz opened this issue Jun 1, 2019 · 1 comment

Comments

@itaisteinherz
Copy link

itaisteinherz commented Jun 1, 2019

- Do you want to request a feature or report a bug?

Bug.

- What is the current behavior?

Currently, when trying to run $ netlify dev I get the following output:

❯ netlify dev --live

 ›   Warning: dev is not a netlify command.
Did you mean open? [y/n]:

The CLI doesn't recognize the dev command.

- If the current behavior is a bug, please provide the steps to reproduce.

  1. Run $ netlify dev.

- What is the expected behavior?

Running the command above should launch Netlify Dev as expected.

- Please mention your node.js, and operating system version.

Node.js: v12.3.1
OS: macOS Mojave (10.14)
netlify-cli: 2.7.4

Note that I tried running npm i -g netlify-cli@latest several times to make sure I was running the latest available version of the CLI, but I still have version 2.7.4 installed. The issue might be happening because of my local configuration, and not the CLI.

@itaisteinherz
Copy link
Author

itaisteinherz commented Jun 1, 2019

It turned out that the issue was caused by npm not removing an old symlink at /usr/local/bin/netlify, which prevented me from using the latest version of the CLI (and so I removed the old symlink). Sorry for rushing to open an issue for a problem that's not really related to the CLI.

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

No branches or pull requests

1 participant