-
Notifications
You must be signed in to change notification settings - Fork 405
Description
Preliminary Checks
-
I have reviewed the documentation: https://clerk.com/docs
-
I have searched for existing issues: https://github.com/clerk/javascript/issues
-
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
-
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
.
Publishable key
.
Description
I've update @clerk/nextjs from 6.30.0 to 6.31.6
Now I'm trying to build a nextjs project with next build and for some reason I get to this error:
../../node_modules/.pnpm/@[email protected][email protected]_@[email protected]_@[email protected]_@playwrigh_0abadbe49eb04d1d0c3897224317f33d/node_modules/@clerk/nextjs/dist/esm/server/keyless-telemetry.js:2:1
Module not found: Can't resolve 'path'
1 | import "../chunk-BUSYA2B4.js";
> 2 | import { dirname, join } from "path";
| ^
3 | import { canUseKeyless } from "../utils/feature-flags";
4 | import { createClerkClientWithOptions } from "./createClerkClient";
5 | import { nodeFsOrThrow } from "./fs/utils";
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
../../node_modules/.pnpm/@[email protected][email protected]_@[email protected]_@[email protected]_@playwrigh_0abadbe49eb04d1d0c3897224317f33d/node_modules/@clerk/nextjs/dist/esm/app-router/server/ClerkProvider.js
../../node_modules/.pnpm/@[email protected][email protected]_@[email protected]_@[email protected]_@playwrigh_0abadbe49eb04d1d0c3897224317f33d/node_modules/@clerk/nextjs/dist/esm/components.server.js
../../node_modules/.pnpm/@[email protected][email protected]_@[email protected]_@[email protected]_@playwrigh_0abadbe49eb04d1d0c3897224317f33d/node_modules/@clerk/nextjs/dist/esm/index.js
In my <ClerkProvider> import I've had telemetry={{ disabled: true }}, I've tried changing it to telemetry={false} and using NEXT_PUBLIC_CLERK_TELEMETRY_DISABLED=1 env variable but it made no difference
Environment
System:
OS: macOS 15.6.1
CPU: (16) arm64 Apple M3 Max
Memory: 5.91 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.15.0 - ~/.nvm/versions/node/v22.15.0/bin/node
npm: 10.9.2 - ~/.nvm/versions/node/v22.15.0/bin/npm
pnpm: 10.8.1 - ~/Library/pnpm/pnpm
Browsers:
Brave Browser: 126.1.67.123
Chrome: 139.0.7258.155
Safari: 18.6
npmPackages:
@apollo/client: ^3.13.9 => 3.13.9
@apollo/client-integration-nextjs: ^0.12.3 => 0.12.3
@clear/eslint-config: workspace:* => 0.0.0
@clear/tailwind: workspace:* => 0.0.0
@clear/tsconfig: workspace:* => 0.0.0
@clear/ui: workspace:* => 0.0.0
@clerk/backend: ^2.10.1 => 2.10.1
@clerk/nextjs: ^6.31.6 => 6.31.6
@clerk/types: ^4.83.0 => 4.83.0
@coniface/trial: ^2.0.0 => 2.0.0
@customerio/cdp-analytics-browser: ^0.3.5 => 0.3.5
@graphql-codegen/cli: ^5.0.7 => 5.0.7
@graphql-codegen/typescript: ^4.1.6 => 4.1.6
@graphql-codegen/typescript-operations: ^4.6.1 => 4.6.1
@heroicons/react: ^2.2.0 => 2.2.0
@hookform/resolvers: ^5.1.1 => 5.1.1
@mapbox/mapbox-gl-geocoder: ^5.1.2 => 5.1.2
@neoconfetti/react: ^1.0.0 => 1.0.0
@next/third-parties: 15.5.2 => 15.5.2
@remotion/google-fonts: ^4.0.340 => 4.0.340
@remotion/lambda: ^4.0.340 => 4.0.340
@remotion/player: ^4.0.340 => 4.0.340
@remotion/tailwind: ^4.0.340 => 4.0.340
@remotion/transitions: ^4.0.340 => 4.0.340
@segment/analytics-next: ^1.81.1 => 1.81.1
@sentry/core: ^10.8.0 => 10.8.0
@sentry/nextjs: ^10.8.0 => 10.8.0
@statelyai/inspect: ^0.4.0 => 0.4.0
@stripe/react-stripe-js: ^3.9.2 => 3.9.2
@stripe/stripe-js: ^7.9.0 => 7.9.0
@svgr/webpack: ^8.1.0 => 8.1.0
@tailwindcss/postcss: ^4.1.12 => 4.1.12
@tanstack/react-table: ^8.21.3 => 8.21.3
@tanstack/react-virtual: ^3.13.12 => 3.13.12
@types/canvas-confetti: ^1.9.0 => 1.9.0
@types/color: ^4.2.0 => 4.2.0
@types/crypto-js: ^4.2.2 => 4.2.2
@types/dot-object: ^2.1.6 => 2.1.6
@types/lodash-es: ^4.17.12 => 4.17.12
@types/node: ^24.3.0 => 24.3.0
@types/react: ^19.1.12 => 19.1.12
@types/react-dom: ^19.1.9 => 19.1.9
@types/react-highlight-words: ^0.20.0 => 0.20.0
@types/uuid: ^10.0.0 => 10.0.0
@types/vast-client: ^3.0.4 => 3.0.4
@vercel/edge-config: ^1.4.0 => 1.4.0
@vercel/speed-insights: ^1.2.0 => 1.2.0
@xstate/react: ^6.0.0 => 6.0.0
atropos: ^2.0.2 => 2.0.2
calendar-link: ^2.11.0 => 2.11.0
camelcase-keys: ^9.1.3 => 9.1.3
canvas-confetti: ^1.9.3 => 1.9.3
color: ^5.0.0 => 5.0.0
date-fns: ^4.1.0 => 4.1.0
date-fns-tz: ^3.2.0 => 3.2.0
datocms-structured-text-utils: ^5.0.0 => 5.0.0
dot-object: ^2.1.5 => 2.1.5
dotenv: ^17.2.1 => 17.2.1
embla-carousel-react: ^8.6.0 => 8.6.0
eslint: ^9.34.0 => 9.34.0
fast-average-color: ^9.5.0 => 9.5.0
filefy: ^0.1.11 => 0.1.11
free-email-domains-typescript: ^1.0.13 => 1.0.13
graphql: ^16.11.0 => 16.11.0
hash-wasm: ^4.12.0 => 4.12.0
html-entities: ^2.6.0 => 2.6.0
import-in-the-middle: ^1.14.2 => 1.14.2
little-state-machine: ^5.0.1 => 5.0.1
lodash-es: ^4.17.21 => 4.17.21
marked: ^16.2.1 => 16.2.1
next: 15.5.2 => 15.5.2
nuqs: ^2.5.2 => 2.5.2
react: 19.1.1 => 19.1.1
react-datocms: ^7.2.2 => 7.2.2
react-day-picker: ^9.9.0 => 9.9.0
react-device-detect: ^2.2.3 => 2.2.3
react-dom: 19.1.1 => 19.1.1
react-dropzone: ^14.3.8 => 14.3.8
react-highlight-words: ^0.21.0 => 0.21.0
react-hook-form: ^7.60.0 => 7.60.0
react-parallax-tilt: ^1.7.307 => 1.7.307
react-phone-number-input: ^3.4.12 => 3.4.12
react-qr-code: ^2.0.18 => 2.0.18
react-string-replace: ^1.1.1 => 1.1.1
recharts: 2.15.4 => 2.15.4
remotion: ^4.0.340 => 4.0.340
require-in-the-middle: ^7.5.2 => 7.5.2
source-map-explorer: ^2.5.3 => 2.5.3
source-map-support: ^0.5.21 => 0.5.21
statsig-node: ^6.4.7 => 6.4.7
statsig-node-vercel: ^0.7.0 => 0.7.0
swr: ^2.3.6 => 2.3.6
tailwindcss: ^4.1.12 => 4.1.12
tsx: ^4.20.5 => 4.20.5
typescript: 5.9.2 => 5.9.2
unist-util-select: ^5.1.0 => 5.1.0
use-debounce: ^10.0.5 => 10.0.5
uuid: ^11.1.0 => 11.1.0
vast-client: ^3.2.0 => 3.2.0
video.js: ^8.23.4 => 8.23.4
xstate: ^5.21.0 => 5.21.0
zod: ^4.0.10 => 4.0.10