-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
Community ✅Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.
Description
simplehttpserver version:
latest as of 12/09/2023
Current Behavior:
On windows/amd64, trying to install as per README does not work. However, compiling from trunk does.
Expected Behavior:
Package installs successfully and simplehttpserver.exe becomes available.
Steps To Reproduce:
> go version
go version go1.21.1 windows/amd64
> go install -v github.com/projectdiscovery/simplehttpserver/cmd/simplehttpserver@latest
github.com/projectdiscovery/simplehttpserver/internal/runner
# github.com/projectdiscovery/simplehttpserver/internal/runner
..\..\..\go\pkg\mod\github.com\projectdiscovery\simplehttpserver@v0.0.6\internal\runner\watchdog.go:19:32: watcher.Events undefined (type *fsnotify.Watcher has no field or method Events)
..\..\..\go\pkg\mod\github.com\projectdiscovery\simplehttpserver@v0.0.6\internal\runner\watchdog.go:28:19: watcher.Errors undefined (type *fsnotify.Watcher has no field or method Errors)
>
After this, where simplehttpserver.exe
cannot find the file.
However, cloning the repo and go build
does work, and produces the exe - which runs fine.
Anything else:
Metadata
Metadata
Assignees
Labels
Community ✅Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.Inconsistencies or issues which will cause an issue or problem for users or implementors.