eth_scanner
eth_scanner
TtRPC
Created by eth_scanner on 9/27/2024 in #❓-help
all my inferred typings on the frontend are `any`
okay fixed it! I had to rewrite my tsconfigs
4 replies
TtRPC
Created by eth_scanner on 9/27/2024 in #❓-help
all my inferred typings on the frontend are `any`
i think it has to do with some tsconfig relative vs absolute import stuff. i want to use absolute imports on my backend, but have it resolve correctly. how can i configure this?
4 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
I'm working on a social media app! I'll post it here when it is ready
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
what a nightmare!
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
Okay, I think I got it working! I migrated to yarn, used yarn workspaces, and removed all absolute paths from by backend
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
sure, thank you! i iwll get back to you
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
but im not sure if im misunderstanding the purpose of a monorepo
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
i only want to colocate the files for TRPC only
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
is there a benefit to using it? i dont have any shared deps
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
its a few months old
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
im not using any monorepo tool, which im not sure is the right way to go about it... the backend and frontend are just colocated
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
thanks yeah. I think I am having a parallel issue where I was using npm instead of yarn, and nohoist doesn't work in npm, so I am trying to migrate to yarn first.
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
omg, thank you so much! let me look at this and see if I can figure out what is wrong
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
And when I try to install that, I get this error:
error: Error: Unable to resolve module @trpc/client from my/file/path/frontend/App.tsx: @trpc/client could not be found within the project or in these directories:
error: Error: Unable to resolve module @trpc/client from my/file/path/frontend/App.tsx: @trpc/client could not be found within the project or in these directories:
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
I also believe I am supposed to have @trpc/server installed in the frontend, but when I do it doesn't fix anything
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
Do you know if what your tsconfig settings are? Do you have the same setup as me? @Ofir Smolinsky
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
And I don't have anything installed in my root folder
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
My backend:
"@trpc/server": "^11.0.0-rc.433",
"@trpc/server": "^11.0.0-rc.433",
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
"@trpc/client": "^11.0.0-rc.433",
"@trpc/react-query": "^11.0.0-rc.433",
"@trpc/client": "^11.0.0-rc.433",
"@trpc/react-query": "^11.0.0-rc.433",
42 replies
TtRPC
Created by eth_scanner on 7/2/2024 in #❓-help
The inferred type of 'trpc' cannot be named without a reference to '...'
My frontend:
42 replies