budibase icon indicating copy to clipboard operation
budibase copied to clipboard

bb-alert: No JWT Secret supplied, cannot configure JWT strategy

Open richardji7 opened this issue 2 years ago • 1 comments

Hosting

  • Self
    • Method:
    • Budibase Version: <2.1.15>
    • App Version:

Describe the bug After install it via: $npm i -g @budibase/cli I am getting error when trying to initialize $budi hosting --init bb-alert: No JWT Secret supplied, cannot configure JWT strategy Error - docker/docker-compose has not been installed, please follow instructions at: https://docs.budibase.com/docs/docker-compose

To Reproduce

  1. Install node.js 18.12.1
  2. Install budibase through: npm i -g @budibase/cli
  3. Try to init budibase: budi hosting --init

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

App Export If possible - please attach an export of your budibase application for debugging/reproduction purposes.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

richardji7 avatar Nov 05 '22 02:11 richardji7

I am getting the same error.

agiient avatar Nov 06 '22 23:11 agiient

Hey @richardji7

What do you seen when you run docker-compose --version ?

melohagan avatar Nov 10 '22 16:11 melohagan

I don't have docker installed. Is that required? I thought only node.js is required for non-docker use.

richardji7 avatar Nov 10 '22 17:11 richardji7

Hey @richardji7

As the error states:

Error - docker/docker-compose has not been installed, please follow instructions at: https://docs.budibase.com/docs/docker-compose

You do need to install docker-compose. The Budibase CLI is basically a convenience wrapper on top of docker-compose.

More in the docs here! https://docs.budibase.com/docs/budibase-cli-setup#prerequisites

Closing.

melohagan avatar Nov 10 '22 21:11 melohagan