I have create a sfdx project and working on to migrate a VF page into lightning web component. At the first I have created the LWC components and pushed it to the scratch org, but now I am having issue while pushing the jsconfig.json file into the org.

2 Answers 2


At the root of your project, add a **/jsconfig.json entry to the .forceignore. This file must be added to the .forceignore file since it for local development only and should not be pushed to your org.

The jsconfig.json file is necessary for the Lightning Web Components language server protocol (LSP), which helps with things like autocomplete of custom types in your IDE.

Note that this file is automatically added by the VS Code Lightning Web Components extension (salesforce.salesforcedx-vscode-lwc), which also adds the **/jsconfig.json entry to the .forceignore file for you. Before installing the LWC extension, make sure to install VS Code Salesforce Extension Pack.

Edit (2/14/2019):

It actually looks like the Lightning Web Components extension is included in the Salesforce Extension Pack now so you shouldn't need to install both separately. See the dev guide for more doc on getting your local environment set up.


Also add **/.eslintrc.json to .forceignore. it gets generated when using VS code


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .