Parker
Parker
TTCTheo's Typesafe Cult
Created by Parker on 5/30/2024 in #questions
Weird Vercel behavior.
hi! I'm trying to figure out why Vercel is losing it's mind about me using telemetry & the 'server-only' package together. I get the following error on build once it makes it to vercel:
/src/server/queries/users.ts:2:1
Module not found: Can't resolve 'server only'
1 | import { auth } from '@clerk/nextjs/server';
> 2 | import 'server only';
| ^
3 | import { db } from '../db';
4 |
5 | export function getAllUsers() {
/src/server/queries/users.ts:2:1
Module not found: Can't resolve 'server only'
1 | import { auth } from '@clerk/nextjs/server';
> 2 | import 'server only';
| ^
3 | import { db } from '../db';
4 |
5 | export function getAllUsers() {
It's in my package.json and I know that Vercel supports it. Am I doing something wrong here?
6 replies
TTCTheo's Typesafe Cult
Created by Parker on 3/4/2023 in #questions
Weird VS Code on Save
Hey guys! I have some weird interaction occurring on save with a new create-t3-app project, when I save index.tsx It does this weird thing where it keeps adding another type import into the import of next. Anyone else experienced this?
3 replies