pnp / pnp/pnpframework

Get-PnPSiteTemplate: The type initializer for 'PnP.Framework.Enums.BuiltInFieldId' threw an exception.

Open
#980 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

I know there is one respond about this issue but I have the latest PNP Powershell installed on my laptop. I wanted to know if there is anything else other than pnp powershell that needs to be install, like PNP Framework (which I supposed to get that when I install pnp.powershell)
Thank you advance.

Name Value


PSVersion 7.4.1
PSEdition Core
GitCommitId 7.4.1
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Get-PnPSiteTemplate with the reported PnP PowerShell setup on PowerShell 7.4.1 and Windows 10. Trace the type-initializer failure for PnP.Framework.Enums.BuiltInFieldId and verify whether the installed PnP Framework dependency is involved. Done means identifying a reproducible cause and documenting the required dependency or fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.