Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file '.../*.d.ts' has not been built from source file .../*.ts'. #7705

Open
arlind1993 opened this issue May 1, 2024 · 1 comment

Comments

@arlind1993
Copy link

I have installed the necessary packages and build the project:
node version 22.0.0
yarn version 3.2.3

yarn install works all configuration steps complete
it didn't before as I had to add __generated__ folder
and didn't work on windows, now I am on mac

I run yarn web start, the web opens but it shows me a lot of import errors (TS6305 Errors)
for example:
`

51 | import { AlertTriangle } from 'ui/src/components/icons'
| ^^^^^^^^^^^^^^^^^^^^^^^^^
52 | import { LimitExpirySection } from './LimitExpirySection'
53 |
54 | const CustomHeightSwapSection = styled(SwapSection)`

ERROR in src/pages/Swap/Send/NewAddressSpeedBump.test.tsx:6:30
TS6305: Output file '/Users/user/Desktop/interface/dist/out-tsc/packages/uniswap/src/features/gating/flags.d.ts' has not been built from source file '/Users/user/Desktop/interface/packages/uniswap/src/features/gating/flags.ts'.
`

@mr-arai
Copy link

mr-arai commented May 4, 2024

Same issue.
The following command solved the problem.
yarn utilities build
yarn uniswap build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants