Code Monkey home page Code Monkey logo

Comments (2)

AnderssonPeter avatar AnderssonPeter commented on June 12, 2024

Hi I upgraded my powershell version to same as yours and installed the latest PSReadLine, then I uninstalled powertype and installed it again without any errors.

How did you install powershell 7? from the store or using the installer/winget?

VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll
VERBOSE: Acquiring providers for assembly: C:\program files\powershell\7\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: The -Repository parameter was not specified.  PowerShellGet will use all of the registered repositories.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowerType'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'PowerType'.
VERBOSE: Performing the operation "Install-Module" on target "Version '0.0.13-preview' of module 'PowerType'".

Untrusted repository
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository cmdlet. Are you sure you
want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): y
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'D:\Users\Peter\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'PowerType' with version '0.0.13-preview' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PowerType'' for ''.
VERBOSE: InstallPackage' - name='PowerType', version='0.0.13-preview',destination='T:\TEMP\1544234942'
VERBOSE: DownloadPackage' - name='PowerType', version='0.0.13-preview',destination='T:\TEMP\1544234942\PowerType.0.0.13-preview\PowerType.0.0.13-preview.nupkg', uri='https://www.powershellgallery.com/api/v2/package/PowerType/0.0.13-preview'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PowerType/0.0.13-preview'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PowerType/0.0.13-preview'.
VERBOSE: Completed downloading 'PowerType'.
VERBOSE: InstallPackageLocal' - name='PowerType', version='0.0.13-preview',destination='T:\TEMP\1544234942'
VERBOSE: Validating the 'PowerType' module contents under 'T:\TEMP\1544234942\PowerType.0.0.13-preview' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'T:\TEMP\1544234942\PowerType.0.0.13-preview'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'PowerType'.
VERBOSE: Catalog file 'PowerType.cat' is not found in the contents of the module 'PowerType' being installed.
VERBOSE: Checking for possible command collisions for the module 'PowerType' commands.
VERBOSE: The externally managed, dependent module 'PSReadLine' is already installed on this computer.
VERBOSE: Module 'PowerType' was installed successfully to path 'D:\Users\Peter\Documents\PowerShell\Modules\PowerType\0.0.13'.

One more idea, have you tried to uninstall powertype first? close all powershell 7 sessions then run pwsh -noprofile -command "Uninstall-Module PowerType" in cmd until it says Uninstall-Package: No match was found for the specified search criteria and module names 'PowerType'. (In my case I had to run it twice)

from powertype.

VulumeCode avatar VulumeCode commented on June 12, 2024

I used the installer for pwsh7. I uninstalled everything, rebooted, and now it installs again. Not sure what the issue was but thanks anyways!

from powertype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.