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

Develop Against Any Org in Visual Studio Code failing #651

Closed
kamipatel opened this issue Sep 28, 2018 · 4 comments
Closed

Develop Against Any Org in Visual Studio Code failing #651

kamipatel opened this issue Sep 28, 2018 · 4 comments

Comments

@kamipatel
Copy link

Summary

Short summary of what is going on or to provide context.
I followed this in order to develop against my dev sandbox.
I am getting error with this command and not able to create project.
sfdx force:project:create --projectname kamtest --outputdir /Users/kamlesh.patel/lwc --manifest
▸ Unexpected argument --manifest

Steps To Reproduce:

Follow https://github.com/forcedotcom/salesforcedx-vscode/wiki/Develop-Against-Any-Org-in-Visual-Studio-Code

  1. This is step 1.
    Run
    sfdx force:project:create --projectname kamtest --outputdir /Users/kamlesh.patel/lwc --manifest
    ▸ Unexpected argument --manifest

Expected result

Should create a project

Describe what should have happened.

Actual result

sfdx force:project:create --projectname kamtest --outputdir /Users/kamlesh.patel/lwc --manifest ended with exit code 1

Describe what actually happened instead.

Additional information

Feel free to attach a screenshot.

VS Code Version:

SFDX CLI Version:

OS and version:

@vazexqi
Copy link
Contributor

vazexqi commented Sep 28, 2018

I suspect you don’t have the right version of the CLI.

What are the output of the following in the terminal:

sfdx version
and
sfdx plugins

@kamipatel
Copy link
Author

Looks like I had to reinstall plugin. It works now. Thanks!

@rschmidtSFDC
Copy link

I suspect you don’t have the right version of the CLI.

What are the output of the following in the terminal:

sfdx version
and
sfdx plugins

What are the correct versions? I've tried reinstalling the pre release plugin several times and the pre release commands don't appear in vs code.

I'm running sfdx-cli/6.34.0-6fec0d751a (darwin-x64) node-v8.9.4
and
salesforcedx 44.0.25 (pre-release)

The appropriate user setting has also been applied.

@rschmidtSFDC
Copy link

The issue I was having in particular was VS Code was out of date. "Check for updates" said I was current which was not the case. After downloading the latest it worked correctly.

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

No branches or pull requests

4 participants