-
Notifications
You must be signed in to change notification settings - Fork 15
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
[BUG] The filename, directory name, or volume label syntax is incorrect. #12
Comments
|
这个问题现在官方还没解决吗? 现在运行还报这个错误。 |
在windows上修改了default.go那两行后还是会报错,linux上直接上运行就可以了 |
alex-dna-tech
added a commit
to alex-dna-tech/cli
that referenced
this issue
Mar 27, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in windows 10 system:
workdir: d://work_golang
git clone https://github.com/micro/services.git
micro run services/helloworld
mkdir C:\Users\user\AppData\Local\Temp\micro\uploads\helloworld\D:: The filename, directory name, or volume label syntax is incorrect.
when i change the code runtime/default.go:133
target = filepath.Join(dst, header.Name)
// if no join is needed, replace with ToSlash:
// target = filepath.ToSlash(header.Name)
to
target = filepath.Join(dst, header.Name)
// if no join is needed, replace with ToSlash:
target = filepath.ToSlash(header.Name)
it will be ok
Environment:
$ go version
go version go1.14.13 windows/amd64
The text was updated successfully, but these errors were encountered: