Comments (10)
Hi ethanbergstrom,
I copied the files from chocolatier provider 1.0.4 into the machine without the internet connection. There's one thing that has been bothering me, so I have deregistered my repository and copied the provider 1.2.0 files. Once again I have tried to register and the registered correctly.
I don't know what was the reason for the problem before. Currently the registered repository works in provider version 1.2.0.
Sorry for the confusion and thank you for your analysis.
from chocolatier.
Hey @Gregoorio,
I'm not able to reproduce the issue you're seeing. What version of PowerShell are you using?
from chocolatier.
I'm using the 5.1 powershell version. In version 1.0.4 Chocolatier I used the same version and registration of the repository via (register-packagesource) command it is works.
from chocolatier.
Could you paste the entire terminal output, including the registration command, in this thread?
from chocolatier.
Hi @ethanbergstrom,
I've used command:
Register-PackageSource -name TEST -location https://myrepo.hs/nuget -provider Chocolatier -Trusted
And this is error:
WARNING: MSG:UnableToDownload «https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409» «»
WARNING: Unable to download the list of available providers. Check your internet connection.
Register-PackageSource : Cannot bind argument to parameter 'name' because it is an empty string.
At line:1 char:1
- Register-PackageSource -name TEST -location https://myrepo.hs. ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidData: (Microsoft.Power...erPackageSource:RegisterPackageSource) [Register-PackageSource], Exception + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,New-PackageSource,Microsoft.PowerShell.PackageManagement.Cmdlets.RegisterPackageSource
I saw problem in the parameter 'name' but I don't know what is the matter
"Cannot bind argument to parameter 'name' because it is an empty string."
from chocolatier.
I just tried it in a clean Windows Sandbox environment, and I'm not seeing that issue:
from chocolatier.
Could you confirm how you're installing the package provider? From the output, it looks like your machine isn't connected to the internet. Are you mirroring the package provider module to an internal NuGet repository?
from chocolatier.
Yes, you are right. My machine has no internet.
I have download a Chocolatier package from another machine that has the Internet and copy folders to a machine without the Internet.
I have an external nugget repository by (nuget server).
From a machine that doesn't have internet I register my nuget repository. In version 1.0.4 of Provider Chocolatier it works. However in version 1.2.0 I have a problem with the 'name' parameter.
from chocolatier.
I'm not sure what your issue may be then, other than some sort of issue in your copy process to the disconnected machine.
I just tried copying the module into a Windows Sandbox instance without any internet connection, and it worked after I set the execution policy to RemoteSigned.
from chocolatier.
Great! Glad you were able to get it working.
from chocolatier.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chocolatier.