-
Notifications
You must be signed in to change notification settings - Fork 155
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
Error New-PSDrive : 404: Not Found when trying to mount account drive #455
Comments
moduleMessages.json is referenced in vsteam/Source/Private/common.ps1 Line 1102 in 682186d
The correct link should probably be https://raw.githubusercontent.com/MethodsAndPractices/vsteam/trunk/.github/moduleMessages.json |
Found a work around by enabling the environment variable
After that, the |
Thanks. That is a new feature and you actually used a valid variable to deactivate it. It is just not documented. But the exception is not supposed to happen. I will look into it. |
@SebastianSchuetze I tried to do a build to test the changes, but ran into issues during the build. The changes look otherwise good to me, so I think you can go ahead with the merge. In the worst case, the fixed url still does not work for some reason, which can be adressed with the workaround. |
My curiosity got the better of me and I looked into the errors I got from the build script. Turns out I was using the wrong PowerShell version (5.1 instead of 7) and missing the .NET Core 3.1 SDK. You are probably thinking "duh, of course you need those" and I'm sure that if I wasn't a total newbie at this module, it would probably be obvious to me, too. Still, you might want to consider adding those requirements to the build information. Long story short, I was able to build branch SebastianSchuetze/issue455 and able to verify that it fixes the issue 👍 |
Steps to reproduce
Expected behavior
I expected that a drive for my account is mounted as described in https://methodsandpractices.github.io/vsteam-docs/docs/modules/vsteam/about/about_vsteam_provider.help/
Actual behavior?
I had the following actual outcome:
From the
TargetObject
property of theGet-Error
cmdlet, it seems that the issue is a call to https://raw.githubusercontent.com/MethodsAndPractices/vsteam/topic/addModuleLoadingNotifications/.github/moduleMessages.jsonThis seems to be a recent addition, see 682186d
Information from
Get-Error
:On Which OS have you tried it?
Windows
What was your server version?
Azure DevOps Services
Other server version
No response
Log output of used API
Log output of $PSVersionTable
The text was updated successfully, but these errors were encountered: