Troubleshooting
On build time
- When
No matching export in "xxx" for import "xxx"occurs- Replace import statements to
type importstatements.
// 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 Erroroccurs- Target library may be using Flow (opens in a new tab).
- Add the package name to
stripFlowPackageNamesin configuration file.
- When unknown error occurs
- Add the package name to
fullyTransformPackageNamesin configuration file.
- Add the package name to
- Try rebuild with
--reset-cacheflag. - 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.