forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Not able to create a new LWC component. #146

Closed VineethReddydazeworks closed 1 year ago

VineethReddydazeworks commented 2 years ago

Describe the bug A clear and concise description of the bug. What were you trying to do? What was your goal? I was trying to create a new LWC using code builder. It gave the error as shown in screen shot while installing. I am using Developer Edition. Install Process Error

To Reproduce Steps to reproduce the behavior:

  1. Go to Code Builder from App Launcher
  2. After launching the code builder environment, i tried retrieving the existing LWC and Apex classes successfully.
  3. I used 'ctrl+shift+p' command and searched for sfdx: create Lightning Web Component.
  4. I have given the Label for the component, and selected the path. It gave me an error as shown in image in attachment and was unable to create new LWC.

Expected behavior A clear and concise description of what you expected to happen. Is should ideally create a new LWC component.

Screenshots If applicable, add screenshots to help explain your problem. They really help!

Desktop (please complete the following information):

Smartphone or other device (please complete the following information):

Additional context Add any other context about the problem here.

I was trying to create new LWC component, but it gives me this error: 05:47:51.600 Starting SFDX: Create Lightning Web Component cannot open vscode-remote://krill-d0rounf2q.builder.code.com/home/codebuilder/mysalesforceproject/force-app/main/default/lwc/DynamicDataTableLWC/DynamicDataTableLWC.js. Detail: Unable to read file 'vscode-remote://krill-d0rounf2q.builder.code.com/home/codebuilder/mysalesforceproject/force-app/main/default/lwc/DynamicDataTableLWC/DynamicDataTableLWC.js' (Error: Unable to resolve nonexistent file 'vscode-remote://krill-d0rounf2q.builder.code.com/home/codebuilder/mysalesforceproject/force-app/main/default/lwc/DynamicDataTableLWC/DynamicDataTableLWC.js') UnableToCreateNewLWC

keirbowden commented 2 years ago

I'm seeing the same error output, but the component is created in the lwc folder and and available for editing, pushing to the scratch org etc.

smaddox-sf commented 1 year ago

HI @VineethReddydazeworks - Please let us know if this is still an issue for you. While we are late to respond here, we have not been able to reproduce this.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.