Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

VSS error on init #153

@dv29

Description

@dv29

Getting the following error while trying to init VSS

No handler found on any channel for message: {"id":1,"methodName":"initialHandshake","instanceId":"VSS.HostControl","params":[{"notifyLoadSucceeded":false,"extensionReusedCallback":{"__proxyFunctionId":2,"__channelId":1},"vssSDKVersion":2}],"jsonrpc":"2.0","handshakeToken":"2g6dy8vogc21ys2y9yaslq"}

Following is the initialize code

function registerContribution(contribution) {
...
});

 VSS.init({
            usePlatformStyles: true,
            explicitNotifyLoaded: true,
            usePlatformScripts: true,
            extensionReusedCallback: registerContribution,
            moduleLoaderConfig: {
                paths: {
                    "react": "dist/react",
                    "react-dom": "dist/react-dom",
                    "FeatureTimeline": "dist/FeatureTimeline"
                }
            }
        });

it never reaches the VSS.ready();

tagging: @SpreeRaj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions