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

Not able to refresh/save a Lightning Web Component #330

Closed
Shababsoft opened this issue Oct 17, 2019 · 3 comments
Closed

Not able to refresh/save a Lightning Web Component #330

Shababsoft opened this issue Oct 17, 2019 · 3 comments

Comments

@Shababsoft
Copy link

Describe the bug
The task stays in the pending section and never get completed. I am testing in the developer org.

To Reproduce
Steps to reproduce the behavior:

  1. Open a LWC component
  2. Save the component using the "ForceCode: Save/Deploy/Compile" command
  3. or Refresh using the "ForceCode: Refresh from server"

Expected behavior
The LWC file should get saved

Desktop (please complete the following information):

  • OS: Windows 10
  • VSCode version: 1.39.2
  • ForceCode Version: 3.18.11

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

Additional context
Add any other context about the problem here.

@Shababsoft Shababsoft changed the title Not able to refresh/save the Lightning Web Component Not able to refresh/save a Lightning Web Component Oct 17, 2019
@daishi4u
Copy link
Collaborator

Salesforce will not let you save an lwc where the title is in a certain format. I believe it must start with a capital letter and I found an issue previously with having the word test in the name of it. Please try to name it something along the lines of 'MyLWC' for a test and try again, then let me know.

@Shababsoft
Copy link
Author

@daishi4u - I am able to save the LWC using the Salesforce Extension (SFDX), but not using the ForceCode. According to the Salesforce documentation the LWC format should be camel case.

https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.create_components_folder

@daishi4u
Copy link
Collaborator

I just tested this and confirmed it is working. Can you provide any more details? Sample code, if you changed any code before testing a deploy, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants