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

seems error happend when trying to access a folder under Documents macos #21533

Open
foxjazz opened this issue May 19, 2024 · 1 comment
Open

Comments

@foxjazz
Copy link

foxjazz commented May 19, 2024

V doctor:

V full version: V 0.4.5 9f2cb8c
OS: macos, macOS, 14.4.1, 23E224
Processor: 8 cpus, 64bit, little endian, Apple M1

getwd: /Users/foxjazz/Code/v-file-scanner/src
vexe: /Users/foxjazz/Code/v/v
vexe mtime: 2024-05-19 09:02:22

vroot: OK, value: /Users/foxjazz/Code/v
VMODULES: OK, value: /Users/foxjazz/.vmodules
VTMP: OK, value: /tmp/v_501

Git version: git version 2.43.0
Git vroot status: Error: fatal: not a git repository (or any of the parent directories): .git
.git/config present: false

CC version: Apple clang version 12.0.5 (clang-1205.0.22.11)
thirdparty/tcc status: thirdparty-macos-arm64 5c1d002f

What did you do?
v -g -o vdbg cmd/v && vdbg file.v

	println('Hello World!')
	folder := "/Users/foxjazz/Documents/EVE/logs/ChatLogs"
	entries := os.ls(folder) or { [] }
	println("entries")
	println(entries.count)```

**What did you expect to see?**

entries

**What did you see instead?**

builder error: file.v doesn't exist

> [!NOTE]
> You can use the 👍 reaction to increase the issue's priority for developers.
>
> Please note that only the 👍 reaction to the issue itself counts as a vote.
> Other reactions and those to comments will not be taken into account.
@foxjazz
Copy link
Author

foxjazz commented May 19, 2024

println('Hello World!')
folder := "/Users/foxjazz/Documents/EVE/logs/ChatLogs"
entries := os.ls(folder) or { [] }
println("entries")
println(entries.count)

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

1 participant