Skip to content

How do I resolve "cannot import module "greeter" (not found)" #21979

Discussion options

You must be logged in to vote

Last tip... the src subdir isn't required... some like to use it, some don't. The code works exactly the same if you have

.
├── greeter
│   └── greeter.v
├── main.v
└── v.mod
$ v run .
Jason
$

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@JalonSolov
Comment options

Answer selected by jason-pezzimenti
@jason-pezzimenti
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants