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

Recipe installation error. Could not found recipe by name. #989

Open
alexgoto opened this issue Jul 12, 2022 · 0 comments
Open

Recipe installation error. Could not found recipe by name. #989

alexgoto opened this issue Jul 12, 2022 · 0 comments

Comments

@alexgoto
Copy link

alexgoto commented Jul 12, 2022

What is the problem?

Could not found receipt by name on 'blitz install'.

I tried:
blitz install tailwind
blitz install material-ui

and have same results
ERROR Could not find recipe *name*

Also try blitz install, then select 'tailwind'.
Result - ERROR Could not find recipe "undefined".

Also try blitz install https://github.com/blitz-js/blitz/tree/canary/recipes/tailwind.
Result - SyntaxError: Unexpected token u in JSON at position 0.

Paste all your error logs here:

Default

user@user ~/s/j/g/a/blitz-try (master) > blitz install tailwind
Loaded env from /home/user/src/js/github.com/alexgoto/blitz-try/.env.local
Loaded env from /home/user/src/js/github.com/alexgoto/blitz-try/.env
ERROR Could not find recipe "tailwind"
 
Please provide one of the following:

1. The name of a recipe to install (e.g. "tailwind")
   - Available recipes listed at https://github.com/blitz-js/blitz/tree/canary/recipes
2. The full name of a GitHub repository (e.g. "blitz-js/example-recipe"),
3. A full URL to a Github repository (e.g. "https://github.com/blitz-js/example-recipe"), or
4. A file path to a locally-written recipe.

Without providing a name of a recipe

user@user ~/s/j/g/a/blitz-try (master) > blitz install
Loaded env from /home/user/src/js/github.com/alexgoto/blitz-try/.env.local
Loaded env from /home/user/src/js/github.com/alexgoto/blitz-try/.env
✔ Select a recipe to install · tailwind
ERROR Could not find recipe "undefined"
 
Please provide one of the following:

1. The name of a recipe to install (e.g. "tailwind")
   - Available recipes listed at https://github.com/blitz-js/blitz/tree/canary/recipes
2. The full name of a GitHub repository (e.g. "blitz-js/example-recipe"),
3. A full URL to a Github repository (e.g. "https://github.com/blitz-js/example-recipe"), or
4. A file path to a locally-written recipe.

Paste all relevant code snippets here:

blitz install

What are detailed steps to reproduce this?

  1. blitz new blitz-try
  2. cd blitz-try
  3. blitz install tailwind or
  4. blitz install

Run blitz -v and paste the output here:

Linux 5.17 | linux-x64 | Node: v16.16.0

blitz: 0.45.4 (global)
blitz: 0.45.4 (local)

  Package manager: yarn 
  System:
    OS: Linux 5.17 Kali GNU/Linux Rolling 2022.2
    CPU: (24) x64 Intel(R) Xeon(R) CPU           X5675  @ 3.07GHz
    Memory: 38.11 GB / 47.14 GB
    Shell: 3.4.1 - /usr/bin/fish
  Binaries:
    Node: 16.16.0 - ~/.local/share/nvm/v16.16.0/bin/node
    Yarn: 1.22.19 - ~/.local/share/nvm/v16.16.0/bin/yarn
    npm: 8.11.0 - ~/.local/share/nvm/v16.16.0/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: 3.16.0-integration-tmp-revert-node14.1 => 3.16.0-integration-tmp-revert-node14.1 
    blitz: 0.45.4 => 0.45.4 
    prisma: 3.16.0-integration-tmp-revert-node14.1 => 3.16.0-integration-tmp-revert-node14.1 
    react: 18.0.0 => 18.0.0 
    react-dom: 18.0.0 => 18.0.0 
    typescript: ~4.5 => 4.5.5 

Please include below any other applicable logs and screenshots that show your problem:

No response

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

No branches or pull requests

1 participant