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

Activating extension 'vector-of-bool.gitflow' failed: The "path" argument must be of type string. Received type undefined. #36

Open
ghost opened this issue Jan 28, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 28, 2020

I am trying to build a VSIX extension for the first time, following this link but it fails and seems like it is related to this extension or this dependencies.

When I try to compile the extension for the first time I get this error in the Extension Development Host window

Activating extension 'vector-of-bool.gitflow' failed: The "path" argument must be of type string. Received type undefined.

In the console, I see this:

Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)
Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)
Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)
Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)
Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)
Failed to execute fetch TypeError: Cannot read property '0' of undefined
at getWorkspaceRootPath (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:5:69)
at fetch (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:11:10)
at fetchRemoteUrl (c:\Users\Alex.vscode\extensions\fatihacet.gitlab-workflow-2.2.0\src\git_service.js:106:28)

Why would this happen?

@benjaminfauchald
Copy link

Activating extension 'vector-of-bool.gitflow' failed: The "path" argument must be of type string. Received undefined.

Same problem here...

@Serhioromano
Copy link

Looks like console log have nothing to do with this extension. What are you doing? You create VS Code Extension and when you start to debug it you see this message?

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

2 participants