You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After installing my CLI in a project, i try to run the command generate, but i get the error "template not found (path of the template file)
I'm using the default Gluegun folder structure and didn't remove any core file. Only created a simple command an three templates.
To Reproduce
Steps to reproduce the behavior:
Create a CLI that creates files with command generate
Publish the code in npm
Install your CLI in any other project
Run the CLI with the generate command
See error
Expected behavior
Expect CLI to generate a folder and 3 simple files
OS: Linux (Gitpod)
Gluegun Version [e.g. 5.1.2]
The text was updated successfully, but these errors were encountered:
this seems to occur when running toolbox.template.generate() and occurred for me when trying to modify the file path (target) using slice rather than replace. Changing back to using replace seemed to resolve the issue. Nevertheless, very odd behavior.
Describe the bug
After installing my CLI in a project, i try to run the command generate, but i get the error "template not found (path of the template file)
I'm using the default Gluegun folder structure and didn't remove any core file. Only created a simple command an three templates.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect CLI to generate a folder and 3 simple files
The text was updated successfully, but these errors were encountered: