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

preact init does not work #344

Closed
ptbrowne opened this issue Aug 27, 2017 · 1 comment
Closed

preact init does not work #344

ptbrowne opened this issue Aug 27, 2017 · 1 comment

Comments

@ptbrowne
Copy link

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

What is the current behavior?

preact init does not work.

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

$ yarn global add preact-cli
$ preact init
preact init
         ▄▄
     ▄▄▓▓▓▓▓▓▄▄
  ▄█▀▀█▓▓▓▓▓▓▓▀▀█▄▄
▐▓▌▐▓▓▓▒▄ ▀▄▄▓▓▓▌▐▓▌
▐▓▓▄▀▓▀ ▄▓▓▄▄▀▓▓ ▓▓▌
▐▓▓▓▌ ▒▓▌  ▐▓▓  ▓▓▓▌ preact-cli 1.4.1
▐▓▓ ▒▓▄▄▀▓▓▀ ▄▓▓ ▓▓▌
▐▓▌▐▓▓▓▀▀▄▄▀▀▓▓▓▌▐▓▌
  ▀█▄▄▒▓▓▓▓▓▓▒▄▄▒▀
      ▀▓▓▓▓▓▓▀▀
         ▀▀
For help with a specific command, enter:
  preact help [command]

Commands:
  create <name> [dest]  Create a new application.
  build [src] [dest]    Create a production build in build/
  watch [src]           Start a development live-reload server.
  serve [dir]           Start an HTTP2 static fileserver.

Options:
  --cwd       A directory to use instead of $PWD.                   [default: .]
  -h, --help  Show help                                                [boolean]

Unknown argument: init

What is the expected behavior?

It should "create a new app interactively".

Please mention other relevant information.

macOS 10.12.6
node v8.3.0
yarn 0.27.5
npm 5.3.0

@ptbrowne
Copy link
Author

I used the source instead of installing via npm and it works now, the package must not be completely up-to-date on npm. What is weird was that preact-cli version was showing at 1.4.1 already.

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