GithubHelp home page GithubHelp logo

Comments (4)

erwinvanhunen avatar erwinvanhunen commented on May 29, 2024

Please fully install the powershell cmdlets and reinstall the latest version from https://github.com/officedev/pnp-powershell/releases. It seems you're missing the required newtonsoft.json which was by mistake omitted from the package a few releases ago.

from pnp-powershell.

biste5 avatar biste5 commented on May 29, 2024

ok, thanks as usual Erwin. I'm pretty sure it was just downloaded (today) from the master branch. I'll make use of releases page in the future.
If I understand correctly, you're saying that current version in master branch shouldn't have this issue.

P.S. The procedure to correctly update an already installed version requires to uninstall previous versions first?

from pnp-powershell.

erwinvanhunen avatar erwinvanhunen commented on May 29, 2024

The current released version includes that DLL indeed. The current version in the master branch is also up to date.

Please fully uninstall the package first and then reinstall it. If the uninstall does not clear out the installation folder, remove the folder manually. There has been a release which is refering to version 7.0 of the NewtonSoft.Json assembly, and we reverted to version 6.0 recently. It might be that version 7.0 is installed on your machine instead in the PnP PowerShell installation folder..

from pnp-powershell.

biste5 avatar biste5 commented on May 29, 2024

I'm quite sure a previous version was installed on that machine indeed.
Your explanation is crystal clear. I'll close the issue.
Cheers
Massimo

from pnp-powershell.

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.