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

Can't install Salesforce Lightning extension in VS Code #211

Closed
rajendrasnagar opened this issue Nov 11, 2017 · 5 comments
Closed

Can't install Salesforce Lightning extension in VS Code #211

rajendrasnagar opened this issue Nov 11, 2017 · 5 comments

Comments

@rajendrasnagar
Copy link

rajendrasnagar commented Nov 11, 2017

Summary

Can't install "Lightning Component Code Editor for Visual Studio Code" extension.

Steps To Reproduce:

  1. Download the latest VS code editor.
  2. Install all extensions one by one as mentioned here "https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode#overview"
  3. All extensions are installed except "Lightning Component Code Editor for Visual Studio Code".
  4. Received error is "end of central directory record signature not found".

Expected result

Extension should be installed.

Actual result

Received Error.

Additional information

Screenshot attached.
lightning extension installation error
VS Code Version:
1.18.0

SFDX CLI Version:
sfdx-cli/6.0.14-2af879b (windows-x64) node-v8.6.0

OS and version:
Windows 7 , Ulitmate, SP1

@rajendrasnagar
Copy link
Author

Tried using cmd, but same issue.
C:\Users\lapworld tech>code --install-extension salesforce.salesforcedx-vscode-lightning
Found 'salesforce.salesforcedx-vscode-lightning' in the marketplace.
Installing...
Error: end of central directory record signature not found
at C:\Program Files\Microsoft VS Code\resources\app\node_modules\yauzl\index.js:183:14
at C:\Program Files\Microsoft VS Code\resources\app\node_modules\yauzl\index.js:618:5
at C:\Program Files\Microsoft VS Code\resources\app\node_modules\fd-slicer\index.js:32:7
at FSReqWrap.wrapper [as oncomplete] (fs.js:629:17)

@guw
Copy link
Contributor

guw commented Nov 15, 2017

@rajSN What happens if you install the full extension pack bundle? It should install all extensions at once. Does that work for you?

@rajendrasnagar
Copy link
Author

Hmm... I tried that also. But it didn't worked out as well.

@guw
Copy link
Contributor

guw commented Nov 16, 2017

Seems seems to be a common problem in VS Code. Can you review the information at microsoft/vscode#2384? It suggests that this may be a network/dns issue.

Can you also try downloading the extensions manually and then installing them in VS Code from a local file?

@rajendrasnagar
Copy link
Author

Yes, I checked this too. But i am not behind any firewall.

However, we can close this issue as i am able to install the extension from local file.

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