Skip to content

No active workspace selected #180

Description

@germain-italic

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions