franznkemaka / fluidbm-cli

⚡ Fluidbm CLI: Import Laravel schema designs to your project with just one command
MIT License
16 stars 0 forks source link

flidbm clone fails #2

Closed batfink5000 closed 10 months ago

batfink5000 commented 2 years ago

Hi

The clone is failing as below. The auth command worked ok.

$ npx fluidbm auth
  _____   _           _       _   _                 
 |  ___| | |  _   _  (_)   __| | | |__    _ __ ___  
 | |_    | | | | | | | |  / _` | | '_ \  | '_ ` _ \ 
 |  _|   | | | |_| | | | | (_| | | |_) | | | | | | |
 |_|     |_|  \__,_| |_|  \__,_| |_.__/  |_| |_| |_|

A Fluidbm CLI Token is required to authenticate.
Copy your token from your Fluidbm Dashboard and paste it below: https://fluidbm.com/account
-------------------------------------------
prompt: token:  
✔ Successfully authenticated

$ npx fluidbm --version
  _____   _           _       _   _                 
 |  ___| | |  _   _  (_)   __| | | |__    _ __ ___  
 | |_    | | | | | | | |  / _` | | '_ \  | '_ ` _ \ 
 |  _|   | | | |_| | | | | (_| | | |_) | | | | | | |
 |_|     |_|  \__,_| |_|  \__,_| |_.__/  |_| |_| |_|

1.0.0

$ npx fluidbm clone https://fluidbm.com/schema/xxxxxxxxxxxxxxxxxxxxxxxxx
  _____   _           _       _   _                 
 |  ___| | |  _   _  (_)   __| | | |__    _ __ ___  
 | |_    | | | | | | | |  / _` | | '_ \  | '_ ` _ \ 
 |  _|   | | | |_| | | | | (_| | | |_) | | | | | | |
 |_|     |_|  \__,_| |_|  \__,_| |_.__/  |_| |_| |_|

Unable to extract schema ID from input: undefined

Any ideas ?

Thanks BF

franznkemaka commented 2 years ago

I'll investigate this and find out what went wrong 👍

Thank you for the well-detailed logs

MaxwellGarceau commented 1 year ago

Hey, great project!! I had the same error as @batfink5000, but fixed it by switching to the latest node verison at the time of this writing v18.12.1.

If it helps, the node version that fluidbm-cli was failing on was v14.15.1.

franznkemaka commented 1 year ago

Hi @MaxwellGarceau thanks for sharing your solution. Will be looking forward to updating the project 🙌

franznkemaka commented 10 months ago

@batfink5000 did it fix the issue for you?

franznkemaka commented 10 months ago

@MaxwellGarceau have you been using Laravel ORM recently?