Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 496947

Summary: [tern] Always check for 'node' or 'commonjs' running as the first step in require lib verification
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 13.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-06-28 13:26:30 EDT
Have a .tern-project file with the following contents:

{
	"plugins": {
		"postgres": {}
	}
}

have a compilation unit with the following:

  require('pg').c

I would expect to be told that the node plugin needs to be running, but no warning is reported.