Skip to Content
3
May 23, 2022 at 12:44 PM

SAP Business Application Studio: The "path" argument must be of type string

1801 Views Last edit May 23, 2022 at 03:23 PM 3 rev

Hello,

Can't import project to SAP Business Application Studio anymore, it started from today, getting an exception:

name: TypeError message: The "path" argument must be of type string. Received undefined stack: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined at new NodeError (internal/errors.js:322:7) at validateString (internal/validators.js:124:11) at Object.join (path.js:1148:7) at t.ImportProject.getTargetFolder (/tmp/vscode-unpacked/vscode-wing-welcome-screen-1.1.1.vsix/extension/dist/extension.js:2:422894) at t.ImportProject.doUnzip (/tmp/vscode-unpacked/vscode-wing-welcome-screen-1.1.1.vsix/extension/dist/extension.js:2:421785) at t.ImportProject.import (/tmp/vscode-unpacked/vscode-wing-welcome-screen-1.1.1.vsix/extension/dist/extension.js:2:420749) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async A (/tmp/vscode-unpacked/vscode-wing-welcome-screen-1.1.1.vsix/extension/dist/extension.js:2:513131) string: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined

The same project was imported successfully before, so something happened at weekend.

I have found such warning when Workspace is created:

Problems loading reference 'vscode://schemas/workspaceConfig': Unable to load schema from 'vscode://schemas/workspaceConfig': A resource provider for 'vscode://schemas/workspaceConfig' is not registered.

So it is definitely related somehow to vscode!

Any ideas how it can be resolved?

Regards,

Oksana