| Summary: | [tern] requiring relative path node module throws exceptions | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | curtis.windatt.public, john.arthorne, Silenio_Quarti |
| Version: | 9.0 | ||
| Target Milestone: | 9.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
open orionAmqp.js and try to hover or use open decl, you will get piles of exceptions in the log. The reason is the node + component + require code at the start of the file - all three plugins try to resolve the types and infer them, and the require('../lib/infer') statement causes the problem.