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

node cli init command not working #40

Open
Neosoulink opened this issue Nov 7, 2023 · 4 comments
Open

node cli init command not working #40

Neosoulink opened this issue Nov 7, 2023 · 4 comments

Comments

@Neosoulink
Copy link

Neosoulink commented Nov 7, 2023

Describe the bug
After cloning the project, installing dependencies, and building it successfully, when trying to run the command node cli init as detailed in the doc, I'm getting the following error:

[@squareboat/nestjs-objection] 'pg' validating connection...
[@squareboat/nestjs-objection] 'pg' connection failed, REASON: connect ECONNREFUSED ::1:5432
 init : command not found 

To Reproduce

Based on the documentation:

  1. Clone the project
  2. install dependencies with npm: npm install
  3. build the project: npm run build
  4. Finally run the project cli with node cli init

Expected behavior
The node cli init command runs properly

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows10
  • Version: Node v18.16.0
@Neosoulink
Copy link
Author

Weird, I'm getting the same error with the development too:

image

@Neosoulink Neosoulink changed the title node cli init command not working node cli init command not working Nov 7, 2023
@kmanikandanmca2008
Copy link

Same for me too also gettign mysql db migration issue
image

@xyfer17
Copy link

xyfer17 commented Feb 11, 2024

Weird, I'm getting the same error with the development too:

image

@Neosoulink I think you haven't setup your database config or your local postgres database server isn't live.

@GrateJastes
Copy link

I have database set up, but I am getting another error:
init: command not found

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

4 participants