flancy
flancy copied to clipboard
i keep getting flancy.start() is being used by another process
trafficstars
this is super annoying everytime I try to use New-Flancy
The process cannot access the file because it is being used by another process
At C:\Users\dotps1\Documents\WindowsPowerShell\Modules\flancy\flancy.psm1:450 char:9
+ $flancy.start()
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], HttpListenerException
+ FullyQualifiedErrorId : HttpListenerException
so, this seemed to be an issue with the example of port 8001, once I changed that, it works. Is there some way to maybe test for the port and if its use, throw a useful error, because a file in use error was not helpful lol.
yeah poor error
@toenuff looks like you have this fixed in the devel branch? I'm getting this for the current error:
Failed to listen on prefix 'http://localhost:8001/' because it conflicts with an existing registration on the machine.
At C:\Users\tiber\Documents\GitHub\flancy\flancy.psm1:450 char:9
+ $flancy.start()
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], HttpListenerException
+ FullyQualifiedErrorId : HttpListenerException