chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Populate Local Workspace: Cannot read property of undefined #97

Closed Jwmotley closed 3 years ago

Jwmotley commented 5 years ago

Cannot populate local workspace. Keeps requesting credentials

Console error:

Configuration file reloaded ================================ ERROR ================================

Cannot read property 'length' of undefined Error Detail:

{}

SPGo.json: { "sourceDirectory": "src", "sharePointSiteUrl": "http://xxxxxxxxx.sharepoint.com/sites/x-xxx/Playbook", "publishingScope": "SaveOnly", "authenticationType": "Digest", "remoteFolders": [ "/SiteAssets", "/SiteAssets/*/.*" ], "storeCredentials": true }

Jwmotley commented 5 years ago

Oh, I should also mention, VSCode on a Mac.

chrishasz commented 5 years ago

Hello @Jwmotley - Can you confirm if Playbook is the name of a subsite? The sharePointSiteUrl property should point to the root of a site, and not a folder or document library within the site.

chrishasz commented 3 years ago

Closing as old. Please reopen this issue with new information if the error is still persisting.