Indexing Lightning Components is stuck forever
See original GitHub issueAfter updating to latest release 47.9.0 every time I open VScode the output window pops up automatically showing a lot of errors under ‘Aura Language Server’ and ‘indexing lightning components’ in the status bar below goes on forever. This should be affecting all users, can you please prioritize this?
This is the content of the output window
Starting *AURA* language server at c:\Users\ChakrabortyS\VSCode Projects\Verivox dev [Info - 09:59:16] Starting *AURA* language server at c:\Users\ChakrabortyS\VSCode Projects\Verivox dev Loading support library: browser Loading support library: browser Loading support library: ecmascript ... language server started in 1116.33 ms Loading support library: ecmascript [Info - 09:59:17] ... language server started in 1116.33 ms Error queuing up indexing of static resources. Error details: TypeError: Cannot read property '0' of undefined at Object.indexStaticResources (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\static-resources-util.js:55:85) at async Promise.all (index 2) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) Error queuing up indexing of content resources. Error details: TypeError: Cannot read property '0' of undefined at Object.indexContentAssets (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\content-assets-util.js:56:83) at async Promise.all (index 3) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) Error queuing up indexing of labels. Error details: TypeError: Cannot read property '0' of undefined at Object.indexCustomLabels (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\custom-labels-util.js:51:82) at async Promise.all (index 4) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) (node:9528) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined at Object.indexStaticResources (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\static-resources-util.js:55:85) at async Promise.all (index 2) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) (node:9528) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined at Object.indexStaticResources (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\static-resources-util.js:55:85) at async Promise.all (index 2) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) (node:9528) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:9528) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:9528) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:9528) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Error queuing up indexing of static resources. Error details: Error queuing up indexing of content resources. Error details: Error queuing up indexing of labels. Error details: [Error - 09:59:17] (node:9528) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined at Object.indexStaticResources (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\static-resources-util.js:55:85) at async Promise.all (index 2) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) [Error - 09:59:17] (node:9528) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '0' of undefined at Object.indexStaticResources (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\lwc-language-server\lib\metadata-utils\static-resources-util.js:55:85) at async Promise.all (index 2) at async Promise.all (index 0) at async Timeout._onTimeout (c:\Users\ChakrabortyS\.vscode\extensions\salesforce.salesforcedx-vscode-lightning-47.9.0\node_modules\aura-language-server\lib\server.js:39:9) [Error - 09:59:17] (node:9528) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) [Error - 09:59:17] (node:9528) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) [Error - 09:59:17] (node:9528) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [Error - 09:59:17] (node:9528) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. loadCustomTagsFromFiles: processed 2 files in 210.99 ms loadCustomTagsFromFiles: processed 2 files in 210.99 ms Indexed 15 files in 1412.83 ms ms [Info - 09:59:18] Indexed 15 files in 1412.83 ms ms
Issue Analytics
- State:
- Created 4 years ago
- Reactions:23
- Comments:18 (1 by maintainers)
Top GitHub Comments
We are investigating and will get a fix out asap.
Having this issue as well on debian linux, vscode 1.40.2, Salesforce Extension Pack 47.9.0