Next.js Discord

Discord Forum

Weird Math.sqrt error after upgrading past 14.0.1

Unanswered
American Sable posted this in #help-forum
Open in Discord
American SableOP
Error: TypeError: undefined is not an object (evaluating 'Math.sqrt')

Affected versions: 14.0.2, 14.0.3

Repo: https://github.com/atridadl/sprintpadawan

Package.json Dependencies:
{
  "dependencies": {
    "@clerk/nextjs": "4.27.1",
    "@clerk/themes": "1.7.9",
    "@libsql/client": "0.4.0-pre.1",
    "@paralleldrive/cuid2": "2.2.2",
    "@t3-oss/env-nextjs": "0.7.1",
    "@tanstack/react-query": "5.8.4",
    "@unkey/api": "0.12.0",
    "@upstash/ratelimit": "0.4.4",
    "@upstash/redis": "1.25.1",
    "@vercel/analytics": "1.1.1",
    "ably": "1.2.47",
    "autoprefixer": "10.4.16",
    "csv42": "5.0.0",
    "dotenv": "16.3.1",
    "drizzle-orm": "0.29.0",
    "next": "14.0.1",
    "nextjs-cors": "2.1.2",
    "postcss": "8.4.31",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-icons": "4.12.0",
    "sharp": "0.32.6",
    "svix": "1.14.0",
    "zod": "3.22.4"
  },
  "devDependencies": {
    "@flydotio/dockerfile": "^0.4.10",
    "@tanstack/eslint-plugin-query": "5.8.4",
    "@types/eslint": "8.44.7",
    "@types/node": "20.9.1",
    "@types/react": "18.2.37",
    "@typescript-eslint/eslint-plugin": "6.11.0",
    "@typescript-eslint/parser": "6.11.0",
    "better-sqlite3": "9.1.1",
    "daisyui": "4.4.2",
    "drizzle-kit": "0.20.4",
    "eslint": "8.54.0",
    "eslint-config-next": "14.0.3",
    "tailwindcss": "3.3.5",
    "typescript": "5.2.2"
  }
}

1 Reply

Largehead hairtail
yo, check dms