question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Indexing Lightning Components is stuck forever

See original GitHub issue

After 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?

image

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:closed
  • Created 4 years ago
  • Reactions:23
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
ntottencommented, Dec 9, 2019

We are investigating and will get a fix out asap.

2reactions
alechkocommented, Dec 10, 2019

Having this issue as well on debian linux, vscode 1.40.2, Salesforce Extension Pack 47.9.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lightning Component Indexing in VisualStudioCode hogs ...
I keep seeing "Indexing Lightning Components" in Visual Studio Code, which is a CPU and Memory hogging activity, slowing my PC.
Read more >
Lightning component loading doesn't stop
Hi, I have a lightning component which invokes from a visualforce page, which inturn gets triggered on click of a button.
Read more >
Swift Xcode Index Freezing or Slow - Stack Overflow
I went back to Xcode 6.1 which worked better. It didn't get stuck on indexing forever, but sometimes i would type and get...
Read more >
Troubleshoot Tableau Server Install and Upgrade
Issues related to indexing can be resolved by reindexing Tableau Server. To reindex Tableau Server, use the tsm maintenance reindex-search command.
Read more >
Your Guide to Lightning Web Components: Let's Explore LWCs
LWCs use a standardized JavaScript framework, HTML, and CSS, without a third-party framework. These components are reusable 'building blocks' ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found