BAS: Import code and other functions on Get started page are not working anymore in the new dev space
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 17
Description
Nothing is working in BAS anymore - no project creation from template, not via import:
workbench.js:38 ERR Cannot find module '/local/source/openvscode-server/extensions/copilot/node_modules/@github/copilot/sdk/index.js' imported from /local/source/openvscode-server/extensions/copilot/dist/extension.js: Error: Cannot find module '/local/source/openvscode-server/extensions/copilot/node_modules/@github/copilot/sdk/index.js' imported from /local/source/openvscode-server/extensions/copilot/dist/extension.js
at finalizeResolution (node:internal/modules/esm/resolve:271:11)
at moduleResolve (node:internal/modules/esm/resolve:865:10)
at defaultResolve (node:internal/modules/esm/resolve:992:11)
at #cachedDefaultResolve (node:internal/modules/esm/loader:691:20)
at #resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:708:38)
at nextStep (node:internal/modules/customization_hooks:189:26)
at resolve (file:///extbin/local/openvscode-server/out/vs/workbench/api/node/extensionHostProcess.js:278:114)
at nextStep (node:internal/modules/customization_hooks:189:26)
at resolveWithHooks (node:internal/modules/customization_hooks:417:10)
at ModuleLoader.resolveSync (node:internal/modules/esm/loader:730:14)
at #resolve (node:internal/modules/esm/loader:673:17)
at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:593:35)
at node:internal/modules/esm/loader:622:32
at TracingChannel.tracePromise (node:diagnostics_channel:362:14)
at ModuleLoader.import (node:internal/modules/esm/loader:618:21)
at defaultImportModuleDynamicallyForScript (node:internal/modules/esm/utils:239:31)
at importModuleDynamicallyCallback (node:internal/modules/esm/utils:263:12)
at Ace.getPackage (/local/source/openvscode-server/extensions/copilot/dist/extension.js:2866:14206)
workbench.js:38 ERR [ChatSessionsService] Failed to resolve sessions for provider copilotcli Error: Cannot find module '/local/source/openvscode-server/extensions/copilot/node_modules/@github/copilot/sdk/index.js' imported from /local/source/openvscode-server/extensions/copilot/dist/extension.js
workbench.js:38 ERR [ChatSessionsService] Failed to resolve sessions for provider copilotcli Error: Cannot find module '/local/source/openvscode-server/extensions/copilot/node_modules/@github/copilot/sdk/index.js' imported from /local/source/openvscode-server/extensions/copilot/dist/extension.js
workbench.js:4247 handleRequest: Failed processing request rpc-request id: 0.34495540736651653
Object
index-B6Jdn24n.js:17 Uncaught (in promise) Error: command 'sapbas.importProject' not found
at Jdt._tryExecuteCommand (workbench.js:1585:4965)
at Jdt.executeCommand (workbench.js:1585:4863)
at async Tjn.handleRequest (workbench.js:4247:41925)
workbench.js:4247 handleRequest: Failed processing request rpc-request id: 0.09856190272200183
Object
index-B6Jdn24n.js:17 Uncaught (in promise) Error: command 'sapbas.importProject' not found
at Jdt._tryExecuteCommand (workbench.js:1585:4965)
at Jdt.executeCommand (workbench.js:1585:4863)
at async Tjn.handleRequest (workbench.js:4247:41925)
workbench.js:626 [Extension Host] Unwatch /extbin/generators/simple-extension-yo-install-output.txt
workbench.js:4468 Some extensions were not fully installed. You can continue to work in SAP Business Application Studio and we will retry next time you restart the dev space.
workbench.js:4247 handleRequest: Failed processing request rpc-request id: 0.6327532181412193
Object
index-B6Jdn24n.js:17 Uncaught (in promise) Error: command 'sapbas.importProject' not found
at Jdt._tryExecuteCommand (workbench.js:1585:4965)
at Jdt.executeCommand (workbench.js:1585:4863)
at async Tjn.handleRequest (workbench.js:4247:41925)
workbench.js:626 [Extension Host] rejected promise not handled within 1 second: Error: command 'yeomanUI._notifyGeneratorsChange' not found
workbench.js:626 [Extension Host] stack trace: Error: command 'yeomanUI._notifyGeneratorsChange' not found
at Jdt._tryExecuteCommand (https://theia-workspaces-ws-uztke.us10.trial.applicationstudio.cloud.sap/st…438e492e54c4de/static/out/vs/code/browser/workbench/workbench.js:1585:4965)
at Jdt.executeCommand (https://theia-workspaces-ws-uztke.us10.trial.applicationstudio.cloud.sap/st…438e492e54c4de/static/out/vs/code/browser/workbench/workbench.js:1585:4863)
workbench.js:38 ERR command 'yeomanUI._notifyGeneratorsChange' not found
Press ctrl i to turn on code suggestions. Press ctrl x to disable code suggestions.
ctrl
i
to turn on code suggestions. Don’t show again
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in a new BAS dev space, starting with the missing sapbas.importProject command and the extension-installation errors shown in the report. Inspect the extension entry points related to project import, template creation, and yeomanUI._notifyGeneratorsChange, along with the Copilot SDK dependency path. Done means project creation and import work without missing-command or incomplete-extension errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100