File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
jbrowse/src/org/labkey/jbrowse Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 4343import org .labkey .api .security .permissions .InsertPermission ;
4444import org .labkey .api .sequenceanalysis .SequenceAnalysisService ;
4545import org .labkey .api .sequenceanalysis .pipeline .ReferenceGenome ;
46+ import org .labkey .api .sequenceanalysis .run .AbstractCommandWrapper ;
4647import org .labkey .api .sequenceanalysis .run .SimpleScriptWrapper ;
4748import org .labkey .api .util .FileType ;
4849import org .labkey .api .util .FileUtil ;
@@ -247,6 +248,19 @@ public void testJBrowseCli() throws Exception
247248 {
248249 _log .error ("Non-zero exit from testJBrowseCli: " + wrapper .getLastReturnCode ());
249250 wrapper .getCommandsExecuted ().forEach (_log ::error );
251+ _log .error ("NODE_PATH: " + System .getenv ("NODE_PATH" ));
252+
253+ File node = AbstractCommandWrapper .resolveFileInPath ("node" , null , false );
254+ if (node == null )
255+ {
256+ _log .info ("Unable to find node in PATH, trying node.exe" );
257+ node = AbstractCommandWrapper .resolveFileInPath ("node.exe" , null , false );
258+ if (node == null )
259+ {
260+ _log .info ("Unable to find node.exe in PATH" );
261+ }
262+ }
263+
250264 _log .error ("output: " );
251265 _log .error (output );
252266
You can’t perform that action at this time.
0 commit comments