Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7641

Regression: Slow due to "Failed to get the node modules path for package alloy"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 4.1.1
    • Component/s: Editor
    • Labels:
      None
    • Environment:

      Macbook Pro

    • Story Points:
      5
    • Sprint:
      2015 Sprint 14 Studio

      Description

      After update to Studio 4.1.0, I keep getting the following. Studio becomes slow to respond.

      Here is the error log:

      !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'.
      	at com.aptana.js.internal.core.node.NodePackageManager.getModulesPath(NodePackageManager.java:496)
      	at com.appcelerator.titanium.alloy.core.AlloyCorePlugin.getAlloyModulesPath(AlloyCorePlugin.java:178)
      	at com.appcelerator.titanium.alloy.core.AlloyUtil.getAlloyJscaPath(AlloyUtil.java:183)
      	at com.appcelerator.titanium.alloy.core.index.AlloyBuildPathContributor.getBuildPathEntries(AlloyBuildPathContributor.java:37)
      	at com.aptana.buildpath.core.BuildPathManager.getDynamicBuildPaths(BuildPathManager.java:354)
      	at com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:239)
      	at com.aptana.buildpath.core.BuildPathManager.hasBuildPath(BuildPathManager.java:373)
      	at com.appcelerator.titanium.core.util.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:143)
      	at com.appcelerator.titanium.core.internal.mobile.SDKBuildPathContributor.getBuildPathEntries(SDKBuildPathContributor.java:93)
      	at com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:321)
      	at com.aptana.js.core.index.JSIndexQueryHelper.getIndices(JSIndexQueryHelper.java:123)
      	at com.aptana.js.core.index.JSIndexQueryHelper.<init>(JSIndexQueryHelper.java:98)
      	at com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.getQueryHelper(AlloyViewValidator.java:431)
      	at com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.doBuildFile(AlloyViewValidator.java:224)
      	at com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.buildEnding(AlloyViewValidator.java:132)
      	at com.aptana.core.internal.build.LazyBuildParticipant.buildEnding(LazyBuildParticipant.java:67)
      	at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.runParticipants(CommonReconcilingStrategy.java:341)
      	at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:277)
      	at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:235)
      	at com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.initialReconcile(CommonReconcilingStrategy.java:149)
      	at com.aptana.editor.common.text.reconciler.CommonReconciler.initialProcess(CommonReconciler.java:188)
      	at 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'.
      

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              shawnlan Shawn Lan
              Reviewer:
              Praveen Innamuri (Inactive)
            • Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: