Skip to content

[Regression from 0.45 -> 0.46] resolve_dirname no longer applies #4103

Description

@DanielHeath

After upgrading from 0.45 to 0.46, we have hundreds of Required module not found errors.

The relevant flowconfig snippet is:

[options]
module.system.node.resolve_dirname=src/js
module.system.node.resolve_dirname=test/unit

An example of the new error:

src/js/client/<snip>/<snip>/<snip>/__tests__/index-spec.js:3
  3: import { within } from 'helpers/stubs';
                            ^^^^^^^^^^^^^^^ helpers/stubs. Required module not found

This file is present:

  $ ls test/unit/helpers/stubs.js
test/unit/helpers/stubs.js

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions