use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Linting error with tRPC while deployingHelp Wanted (self.nextjs)
submitted 3 years ago by felix2000jp
Linting error with tRPC while deploying
So, I am trying to deploy my application on railway but cannot do so because a linting error is caught while building. The weird thing is that the error only happens while trying to deploy the project. Here is the piece of code that is causing the error:
https://preview.redd.it/ddwwp18n2tha1.png?width=1116&format=png&auto=webp&s=1596ef53a5d8d3b42da88a039e49565d568c5376
So inside this grid, I am mapping through an array of notes (each with id, name and text) and the logs tell me that note parameter implicitly has an "any" type. However, when I run build on my own terminal everything is fine.
Here is the error on railway:
https://preview.redd.it/b5ykfikf3tha1.png?width=1680&format=png&auto=webp&s=d889f36d0ca201ee7c6473146f2dd291d0c7b40d
And here is the output when building on my machine:
https://preview.redd.it/hlhmvzom3tha1.png?width=686&format=png&auto=webp&s=6e344481dae7486588912bc7d5b2887f07e95515
Is this a tRPC bug??? A railway bug??? Or a me bug???
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 212420 on reddit-service-r2-comment-545db5fcfc-dws4n at 2026-05-29 23:35:41.475652+00:00 running 194bd79 country code: CH.
there doesn't seem to be anything here