saartrucck#318
saartrucck#318
TTwenty
Created by saartrucck#318 on 8/21/2024 in #❓︱help
Error while setting twenty locally
After running npx nx start There are a lot of modules which cannot be find and further a lot of errors in some .tsx files such as Pill.tsx example-> src/theme/utils/getNextThemeColor.ts(1,28): error TS2305: Module '"@ui/theme"' has no exported member 'ThemeColor'. src/theme/utils/getNextThemeColor.ts(5,6): error TS7006: Parameter 'color' implicitly has an 'any' type.
src/display/index.ts(22,30): error TS1125: Hexadecimal digit expected. src/utilities/index.ts(1,25): error TS1125: Hexadecimal digit expected. src/utilities/index.ts(4,25): error TS1125: Hexadecimal digit expected.
nx run twenty-server:start
src/utilities/index.ts(1,25): error and then erors like this vite v5.4.0 building for production... src/components/index.ts:1:15 - error TS2307: Cannot find module './PillPill' or its corresponding type declarations. 1 export * from './Pill\Pill'; ~~~ src/components/Pill/Pill.tsx:11:38 - error TS2339: Property 'background' does not exist on type 'Theme'. 11 background: ${({ theme }) => theme.background.transparent.light}; ~~~~ src/components/Pill/Pill.tsx:
5 replies