Closed rbahadur closed 5 years ago
@rbahadur - I'm following along https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/set-up-visual-studio-code
Could you confirm that you have "Search for Lightning Web Components and click Install. If you already have it installed, then you just need to click on the Reload button. "
If so, could you confirm that it's running? You can do so by doing Ctrl + Shift + P > Developer: Show Running Extensions.
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.
Hi @vazexqi , I would say that I don't see the option that is on Trailhead either, if I use Mac, if I use Windows I see it.
Here is the page that you asked:
What I see is the SFDX: Create LWC Bundle, which I believe is the same, no? but for me this LWC bundle is not creating the component. :/.
On Window side I got some problem but after I run sfdx plugins:install salesforcedx@pre-release it fixed, I tried it on Mac and didn't work.
Trailhead that I am following: https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component
I know this is closed, but I think I had the same issue. All you need to do when you create a new lwc is hit the refresh explorer button (standard refresh icon) on the left side explorer and it will show up. Cheers.
I'm facing the same issue. I updated the CLI today. Could you check?
I was able to resolve this after i installed the "Lightning Web Components Extension".
I had the same problem and @vazexqi comment solved it. I searched and installed Lightning Web Components
extension. This should have been added to the trailhead content!
I faced the same problem. I checked Lightning Web Components extension, it was enabled. I fix this issue by reinstalling CLI. Just for your information.
@Fitchburgh - Thank you! Refreshing the explorer solved this issue for me.
You need to create an sfdx project before, then further commands are displayed in VsCode. 1 - Command + Shift + P on a Mac 2 - SFDX: Create Project 3 - Type SFDX: Create Lightning Web Component Or type anything you want but first create the project.
Summary
I am following the Steps to create "Create a Lightning Web Component" from Sales force trail head, and trying to create web component, but not finding any command in pallet to create it.
Steps To Reproduce:
1.In Visual Studio code, press Command + Shift + P on a Mac or Ctrl + Shift + P on Windows. 2.Type SFDX. 3.Search SFDX: Create Lightning Web Component.
Expected result
1.In Visual Studio code, press Command + Shift + P on a Mac or Ctrl + Shift + P on Windows. 2.Type SFDX. 3.Search SFDX: Create Lightning Web Component.
Actual result
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
VS Code Version: 1.30
SFDX CLI Version: 41.2.0
OS and version: Window 10