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

SPGO not opening Site Assets on SP On-Prem #157

Open jjsharep opened 2 years ago

jjsharep commented 2 years ago

I am new to SPGO and trying to use on SP On-Prem 2016 in a corp environment. I do not have to sign into SP but am authenticated via CAC. I chose NTLM but was prompted for my credentials so I don't know what the password is since I don't have to enter one. I then tried the "AddinOnly" method and was able to supply a client ID, entering "", secret: "", and realm: "". I did this by first registering an app and generating that info. That got me a little closer (or so it seemed). My workspace resides in C:\Users\myName\SPSites

SPGo.json setup: { "sourceDirectory": "src", "sharePointSiteUrl": "https://mysite.com/sitename/site", "workspaceRoot": "c:\Users\myName\SPSites", "publishWorkspaceOptions": { "destinationFolder":"/", "globPattern":"c:\Users\myName\SPSites\src\*\*.", "localRoot":"c:\Users\myName\SPSites\src" }, "publishingScope": "SaveOnly", "authenticationType": "AddinOnly", "remoteFolders": [ "/siteassets/*" ] }

<AppPermissions AllowAppOnlyPolicy="true">
     <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl"/>
     </AppPermissionRequests>

Output: starting file synchronization ....

VSCodeVersion: 1.65.0 SP On-Prem: 2016

It says Starting File Synchronization when I try to populate workspace and it just hangs with Populating Workspace (bottom left) just spinning. Eventually I get an error about the workspace.

Also got this error, which is new: Output: syntax error: Unexpected token m in JSON at position 363. Might just be my typing. So I did populate workspace again and entered app credentials (client id, etc). It is now just hanging, Starting File Synchronization ... Populating Workspace

GWhite63 commented 1 year ago

Did you ever find a solution for this?

jjsharep commented 1 year ago

No

On Tue, 14 Mar 2023, 9:04 pm GWhite63, @.***> wrote:

Did you ever find a solution for this?

— Reply to this email directly, view it on GitHub https://github.com/chrishasz/spgo/issues/157#issuecomment-1469077946, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYJITMYLEUGQA7TLW35Q76LW4EIQRANCNFSM5RB523MQ . You are receiving this because you authored the thread.Message ID: @.***>

kurtisdunn commented 1 year ago

Having the same issue. I think its a load balancing drama.