Project: appceleratorstudio
Issue TISTUD-7641: Regression: Slow due to "Failed to get the node modules path for package alloy"
After update to Studio 4.1.0, I keep getting the following. Studio becomes slow to respond. Here is the error log: {code} !ENTRY com.appcelerator.titanium.alloy.core 4 0 2015-07-10 15:43:06.426 !MESSAGE (Build 4.1.0.201507071122) [ERROR] Failed to get the node modules path for package 'alloy'. !STACK 1 org.eclipse.core.runtime.CoreException: Failed to get the node modules path for package 'alloy'. com.aptana.js.internal.core.node.NodePackageManager.getModulesPath(NodePackageManager.java:496) com.appcelerator.titanium.alloy.core.AlloyCorePlugin.getAlloyModulesPath(AlloyCorePlugin.java:178) com.appcelerator.titanium.alloy.core.AlloyUtil.getAlloyJscaPath(AlloyUtil.java:183) com.appcelerator.titanium.alloy.core.index.AlloyBuildPathContributor.getBuildPathEntries(AlloyBuildPathContributor.java:37) com.aptana.buildpath.core.BuildPathManager.getDynamicBuildPaths(BuildPathManager.java:354) com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:239) com.aptana.buildpath.core.BuildPathManager.hasBuildPath(BuildPathManager.java:373) com.appcelerator.titanium.core.util.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:143) com.appcelerator.titanium.core.internal.mobile.SDKBuildPathContributor.getBuildPathEntries(SDKBuildPathContributor.java:93) com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:321) com.aptana.js.core.index.JSIndexQueryHelper.getIndices(JSIndexQueryHelper.java:123) com.aptana.js.core.index.JSIndexQueryHelper.(JSIndexQueryHelper.java:98) com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.getQueryHelper(AlloyViewValidator.java:431) com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.doBuildFile(AlloyViewValidator.java:224) com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.buildEnding(AlloyViewValidator.java:132) com.aptana.core.internal.build.LazyBuildParticipant.buildEnding(LazyBuildParticipant.java:67) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.runParticipants(CommonReconcilingStrategy.java:341) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:277) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:235) com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.initialReconcile(CommonReconcilingStrategy.java:149) com.aptana.editor.common.text.reconciler.CommonReconciler.initialProcess(CommonReconciler.java:188) org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173) !SUBENTRY 1 com.aptana.js.core 4 0 2015-07-10 15:43:06.426 !MESSAGE Failed to get the node modules path for package 'alloy'. {code}
Story points: 5