remove module resolution checks in traceNode
reimplement collectNodesIntoComps with Driver dfs