Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Error: command hello:world not found #36

Closed
hectorvp opened this issue Jan 6, 2022 · 2 comments
Closed

Error: command hello:world not found #36

hectorvp opened this issue Jan 6, 2022 · 2 comments

Comments

@hectorvp
Copy link

hectorvp commented Jan 6, 2022

Do you want to request a feature or report a bug?

This is a bug.

What is the current behavior?

Command ./bin/run hello:world not working.

Steps to reproduce -

Commands fired -

$ oclif generate stream
$ ./bin/run hello:world
Error: command hello:world not found

generate command pulls oclif/hello-world repo as a template.

What is the expected behavior?

hello world! (./src/commands/hello/world.ts)

versions-
oclif: 2.1.0
oclif/core: 1.1.0
OS: OSX 11.5.2
Node: 14.17.1

@peternhale
Copy link

@hectorvp thank you for reporting this issue.

Did you run build on the resulting project? Either yarn build or npm run build?

@hectorvp
Copy link
Author

Thanks @peternhale. How silly of me! npm run build worked.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants