Uniswap / interface

🦄 Open source interfaces for the Uniswap protocol

Home Page:https://app.uniswap.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

arlind1993 opened this issue · comments

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'.
`

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