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
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