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

Command Error #1278

Closed
Itsmejyoti opened this issue Apr 23, 2019 · 5 comments
Closed

Command Error #1278

Itsmejyoti opened this issue Apr 23, 2019 · 5 comments

Comments

@Itsmejyoti
Copy link

Issue Type: Bug

When trying to create project gives an error command 'sfdx.force.project.create' not found.

Extension version: 45.10.0
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:27:14.102Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i3-3217U CPU @ 1.80GHz (4 x 1795)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_off
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 1.89GB (0.50GB free)
Process Argv
Screen Reader no
VM 0%
@lcampos
Copy link
Contributor

lcampos commented Apr 23, 2019

Hi @Itsmejyoti can you open Dev tools (Help > Toggle Dev Tools) and see if there's an error under the Console tab? If so, can you add a screenshot of it.
Also, can you provide the version of the Salesforce CLI you are using ( run sfdx --version in your terminal) ?

@Itsmejyoti
Copy link
Author

Hey @icampos Thank you for your prompt response, but I have solved the issue there is problem with workspace directory path.

@lcampos
Copy link
Contributor

lcampos commented Apr 24, 2019

@Itsmejyoti could you add more details on how you fixed this ? I'd like to know if there's something we can change in the extensions so that other users to run into this in the future.

@Itsmejyoti
Copy link
Author

@icampos I don't know how but I have just changed my workplace folder and its worked for me.
Is there anything which relates Salesforce extension pack and workplace folder? cz I am new to Visual Studio Code and SFDX.

@lcampos
Copy link
Contributor

lcampos commented Apr 25, 2019

I see, I don't think there's much we can do in that scenario. The extensions only get activated when you are on a Salesforce DX project (e.g. it contains sfdx-project.json, etc) which means that the commands are only available once the extensions activate.

I'll close the issue for now since you are unblocked but feel free to keep providing us with feedback.

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

2 participants