Troubleshooting
On build time
- When
No matching export in "xxx" for import "xxx"
occurs- Replace import statements to
type import
statements.
// AS IS import { ValueIdentifier, TypeIdentifierA } from '...'; import TypeIdentifierB from '...'; // TO BE import { ValueIdentifier, type TypeIdentifierA } from '...'; import type TypeIdentifierB from '...';
- Replace import statements to
- When
Syntax Error
occurs- Target library may be using Flow (opens in a new tab).
- Add the package name to
stripFlowPackageNames
in configuration file.
- When unknown error occurs
- Add the package name to
fullyTransformPackageNames
in configuration file.
- Add the package name to
- Try rebuild with
--reset-cache
flag. - Please report issue (opens in a new tab) and share demo code for reproduce the issue.
On runtime
There're many reasons for runtime errors, making it difficult to determine the cause.
Please report issue (opens in a new tab) and share demo code for reproduce the issue.