org.eclipse.core.runtime.CoreException: Failed to get the node modules path for package 'alloy'.

Appcelerator JIRA | Shawn Lan | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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'. 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'. {code}

    Appcelerator JIRA | 2 years ago | Shawn Lan
    org.eclipse.core.runtime.CoreException: Failed to get the node modules path for package 'alloy'.
  2. 0

    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'. 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'. {code}

    Appcelerator JIRA | 2 years ago | Shawn Lan
    org.eclipse.core.runtime.CoreException: Failed to get the node modules path for package 'alloy'.

    Root Cause Analysis

    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()
    2. com.aptana.js
      NodePackageManager.getModulesPath
      1. com.aptana.js.internal.core.node.NodePackageManager.getModulesPath(NodePackageManager.java:496)
      1 frame
    3. com.appcelerator.titanium
      AlloyBuildPathContributor.getBuildPathEntries
      1. com.appcelerator.titanium.alloy.core.AlloyCorePlugin.getAlloyModulesPath(AlloyCorePlugin.java:178)
      2. com.appcelerator.titanium.alloy.core.AlloyUtil.getAlloyJscaPath(AlloyUtil.java:183)
      3. com.appcelerator.titanium.alloy.core.index.AlloyBuildPathContributor.getBuildPathEntries(AlloyBuildPathContributor.java:37)
      3 frames
    4. com.aptana.buildpath
      BuildPathManager.hasBuildPath
      1. com.aptana.buildpath.core.BuildPathManager.getDynamicBuildPaths(BuildPathManager.java:354)
      2. com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:239)
      3. com.aptana.buildpath.core.BuildPathManager.hasBuildPath(BuildPathManager.java:373)
      3 frames
    5. com.appcelerator.titanium
      SDKBuildPathContributor.getBuildPathEntries
      1. com.appcelerator.titanium.core.util.ContentAssistMetadataUtils.getProjectMetadataBuildPath(ContentAssistMetadataUtils.java:143)
      2. com.appcelerator.titanium.core.internal.mobile.SDKBuildPathContributor.getBuildPathEntries(SDKBuildPathContributor.java:93)
      2 frames
    6. com.aptana.buildpath
      BuildPathManager.getBuildPaths
      1. com.aptana.buildpath.core.BuildPathManager.getBuildPaths(BuildPathManager.java:321)
      1 frame
    7. com.aptana.js
      JSIndexQueryHelper.<init>
      1. com.aptana.js.core.index.JSIndexQueryHelper.getIndices(JSIndexQueryHelper.java:123)
      2. com.aptana.js.core.index.JSIndexQueryHelper.<init>(JSIndexQueryHelper.java:98)
      2 frames
    8. com.appcelerator.titanium
      AlloyViewValidator.buildEnding
      1. com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.getQueryHelper(AlloyViewValidator.java:431)
      2. com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.doBuildFile(AlloyViewValidator.java:224)
      3. com.appcelerator.titanium.alloy.core.validators.AlloyViewValidator.buildEnding(AlloyViewValidator.java:132)
      3 frames
    9. com.aptana.core
      LazyBuildParticipant.buildEnding
      1. com.aptana.core.internal.build.LazyBuildParticipant.buildEnding(LazyBuildParticipant.java:67)
      1 frame
    10. com.aptana.editor
      CommonReconciler.initialProcess
      1. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.runParticipants(CommonReconcilingStrategy.java:341)
      2. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:277)
      3. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.reconcile(CommonReconcilingStrategy.java:235)
      4. com.aptana.editor.common.text.reconciler.CommonReconcilingStrategy.initialReconcile(CommonReconcilingStrategy.java:149)
      5. com.aptana.editor.common.text.reconciler.CommonReconciler.initialProcess(CommonReconciler.java:188)
      5 frames
    11. JFace Text
      AbstractReconciler$BackgroundThread.run
      1. org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:173)
      1 frame