Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No active workspace selected #180

Open
germain-italic opened this issue Feb 16, 2024 · 0 comments
Open

No active workspace selected #180

germain-italic opened this issue Feb 16, 2024 · 0 comments

Comments

@germain-italic
Copy link

germain-italic commented Feb 16, 2024

Hello, the extension is useful, however I am constantly getting this error:

[16/02/2024 06:33:04] Starting Workspace Publish...
[16/02/2024 06:33:05] publishing files:  d:\Sites\project\src\**\*.*
[16/02/2024 06:33:20] ================================     ERROR     ================================
[16/02/2024 06:33:20] Error Detail:
[16/02/2024 06:33:20] ----------------------
[16/02/2024 06:33:20] No active workspace selected
[16/02/2024 06:33:20] ===============================================================================
[16/02/2024 06:33:31] ================================     ERROR     ================================
[16/02/2024 06:33:31] Error Detail:
[16/02/2024 06:33:31] ----------------------
[16/02/2024 06:33:31] No active workspace selected
[16/02/2024 06:33:31] ===============================================================================
[16/02/2024 06:33:39] Configuration file reloaded

My D:\Sites\project\project.code-workspace:

{
	"folders": [
		{
			"path": "."
		}
	],
	"settings": {}
}

My SPGo.json:

{
    "sourceDirectory": "src",
    "sharePointSiteUrl": "https://tenant.sharepoint.com/sites/project",
    "workspaceRoot": "d:\\Sites\\project",
    "remoteFolders": [
        "/Lists/**/*",
        "/_catalogs/masterpage/project/**/*",
        "/SitePages/**/*",
        "/Style%20Library/**/*"
    ],
    "publishingScope": "SaveOnly",
    "authenticationType": "Digest",
    "storeCredentials": true
}

This is driving me nuts! Happens every 3 minutes or when I launch an action.

I've tried to reconfigure multiple times, with the assistant, and from the examples in the docs at https://www.chrishasz.com/spgo/general/config-options

I don't understand why this error happens from the source at

reject('No active workspace selected');

I'm using the latest version in the latest vscode on the latest Windows 11. Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant