You need to sign in to do that
Don't have an account?
Urich NOUPIK
Create project on Visual Studio Code
Hi all,
I have this problem when creating a salesforce project on Visual Studio Code.
"Starting SFDX: Create Project
09:05:21.882 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\NOUPIK\Documents\Salesforce
! autoupdate:: C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock
! is locked
! C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock is locked
09:07:40.290 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\NOUPIK\Documents\Salesforce ended with exit code 1"
Please i just follow the step on the Create a Hello World Lightning Web Component unit and select "SFDX: Create Project" command on VS Code after install salesforce extension pack corretly. But it look like the project was not created. What is wrong?
I have this problem when creating a salesforce project on Visual Studio Code.
"Starting SFDX: Create Project
09:05:21.882 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\NOUPIK\Documents\Salesforce
! autoupdate:: C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock
! is locked
! C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock is locked
09:07:40.290 sfdx force:project:create --projectname HelloWorldLightningWebComponent --outputdir c:\Users\NOUPIK\Documents\Salesforce ended with exit code 1"
Please i just follow the step on the Create a Hello World Lightning Web Component unit and select "SFDX: Create Project" command on VS Code after install salesforce extension pack corretly. But it look like the project was not created. What is wrong?
C:\Users\NOUPIK>sfdx plugins --core
! autoupdate:: C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock
! is locked
! C:\Users\NOUPIK\AppData\Local\sfdx\update.lock.readers.lock is locked
How can i solve it?
Ok don't worry Urich you can follow this step and install this CLI Package in your VS code IDE
1. Salesforce CLI Integration (https://developer.salesforce.com/tools/sfdxcli)
2. Salesforce extension
When you created first time a folder in VS code than you have followed these step with the command(ctrl+shift+p)
- Make sure you 'Create a project with Manifest' (Not create a project)
- Authorize an Org (on click this you will give access your org to vs code)
- Retrieve Source in Manifest from Org
Then you can get your Org data in your VS code folder and when you will reopen this Without having to re-authenticate it each time.
If you change anything in your org then you can retrieve your data through a manifest(On click on manifest there are a package.xml file,
open package.xml and then on right click you can retrieve your data).
For more information refer: https://www.youtube.com/watch?v=7qR0c8h5cCU
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi