Skip to content

Getting Cannot read properties of undefined (reading 'length') while doing populate local workspace #186

@MuzzammilaSajeena

Description

@MuzzammilaSajeena

I'm submitting a bug report

When am populating local workspace am getting error - TypeError: Cannot read properties of undefined (reading 'length')

  • My spgo.json file
    {
    "sourceDirectory": "src",
    "sharePointSiteUrl": "https://xxx.sharepoint.com/sites/dev",
    "workspaceRoot": "c:\SharePoint\dev",
    "publishWorkspaceOptions": {
    "destinationFolder": "/",
    "globPattern": "c:\SharePoint\dev\src\\.",
    "localRoot": "c:\SharePoint\dev\src"
    },
    "publishingScope": "Major",
    "authenticationType": "Digest",
    "remoteFolders": [
    "/SiteAssets/App/Scripts/
    /.",
    "/SiteAssets/App/HTML//.",
    "/SiteAssets/App/CSS/
    /.",
    "/SiteAssets/App/OldCode//.",
    "/SiteAssets/App/APIs/
    /."
    ]
    }

  • What is the expected behavior? - Need to get remote folders

    • SharePoint Location - Online
    • Authentication Type - Digest

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions