#Hey, i seem to have an error in nextjs 14 but can't seem to figure out what it is (Solved)

15 messages · Page 1 of 1 (latest)

forest oracle
#

The Error dosen't affect builds just building locally it always has this included

rt.toLowerCase is not a function

and always seems to have something with webpack related i have attached a screen shot with this times error.

dense pawnBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

forest oracle
#

here it is in another repository
it also has another error but i don't believe they are related it's probaly just me needing to fix something

rigid basalt
forest oracle
#

and this is the first ones pacakage.json

{
  "name": "newportfolio",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "contentlayer build && next build",
    "deploy": "npm run build && npm run start",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@types/node": "20.3.2",
    "@types/react": "18.2.14",
    "@types/react-dom": "18.2.6",
    "@vercel/analytics": "^1.2.2",
    "as-nav-link": "^0.1.5",
    "autoprefixer": "10.4.14",
    "clsx": "^2.1.0",
    "contentlayer": "^0.3.4",
    "emoji-flags": "^1.3.0",
    "eslint-config-next": "^14.2.1",
    "framer-motion": "^11.0.3",
    "next": "^14.2.1",
    "next-contentlayer": "^0.3.4",
    "next-intl": "^3.9.1",
    "next-mdx-remote": "^4.4.1",
    "postcss": "8.4.24",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-icons": "^4.10.1",
    "rehype-autolink-headings": "^7.0.0",
    "rehype-pretty-code": "^0.10.1",
    "rehype-slug": "^6.0.0",
    "remark-gfm": "^3.0.1",
    "sharp": "^0.33.2",
    "shiki": "^0.14.4",
    "tailwind-merge": "^1.14.0",
    "tailwindcss": "3.3.2",
    "typescript": "5.1.6"
  },
  "overrides": {
    "next-contentlayer": {
      "next": "$next"
    }
  }
}
forest oracle
forest oracle
#

Hey, i seem to have an error in nextjs 14 but can't seem to figure out what it is (Solved)

rigid basalt
forest oracle
rigid basalt
forest oracle
dense pawnBOT
#
✅ Success!

This question has been marked as answered! If you have any other questions, feel free to create another post

Jump to answer
rigid basalt