Skip to content

New project: could not find the file @herbsjs/herbs-cli/src/build/templates/knexFileTopostgres.ejs #48

@euduardo

Description

@euduardo

Occurs an error when generating a new project with herbs new and selecting postgres as database. It says the template file @herbsjs/herbs-cli/src/build/templates/knexFileTopostgres.ejs was not found.

To Reproduce

  1. Run the following command to generate a new project: herbs new
  2. Choose Postgres on What database do you want to use?

Expected behavior
The new project should be created succesfully.

Screenshots
image

image

Additional context
Herbs CLI version: 1.4.0
Operation System: Linux

Possible problem:
The file templates/knexFileTopostgres.ejs is actually named knexFileToPostgres.ejs, so the Linux file system can't find the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions