Next.js Discord

Discord Forum

npm deprecation issue

Unanswered
Shayokh posted this in #help-forum
Open in Discord
I am working with ThreeJs in my NextJS project. I am getting a deprecation warning on package three-mesh-bvh when I try to do npm install. Due to this warning, my hosting service provider's (MellowHost) CPanel won't complete the package installation. Please help me resolve this versioning issue. 🙏

2 Replies

{
    "name": "sed-foundation",
    "version": "0.1.0",
    "private": true,
    "scripts": {
        "dev": "node server.js",
        "build": "next build",
        "start": "NODE_ENV=production node server.js"
    },
    "dependencies": {
        "@heroui/react": "2.6.14",
        "@heroui/system": "2.4.7",
        "@heroui/tabs": "2.2.8",
        "@heroui/theme": "2.4.6",
        "@portabletext/react": "^3.1.0",
        "@radix-ui/react-accordion": "^1.2.0",
        "@radix-ui/react-alert-dialog": "^1.1.1",
        "@radix-ui/react-dialog": "^1.1.1",
        "@radix-ui/react-dropdown-menu": "^2.1.1",
        "@radix-ui/react-hover-card": "^1.1.1",
        "@radix-ui/react-navigation-menu": "^1.2.0",
        "@radix-ui/react-popover": "^1.1.1",
        "@radix-ui/react-slot": "^1.1.0",
        "@react-three/drei": "^v9.121.4",
        "@react-three/fiber": "^8.17.6",
        "@sanity/vision": "^3.57.4",
        "class-variance-authority": "^0.7.0",
        "clsx": "^2.1.1",
        "cmdk": "^1.0.0",
        "embla-carousel-react": "^8.2.1",
        "framer-motion": "^11.5.4",
        "lucide-react": "^0.438.0",
        "next": "^14.2.13",
        "next-sanity": "^9.5.0",
        "react": "^18",
        "react-dom": "^18",
        "recharts": "^2.12.7",
        "sanity": "^3.57.4",
        "sharp": "^0.33.5",
        "tailwind-merge": "^2.5.2",
        "tailwindcss-animate": "^1.0.7",
        "three": "^0.173.0",
        "three-globe": "^2.31.1",
        "three-mesh-bvh": "^0.8.0"
    },
    "devDependencies": {
        "@types/node": "^20",
        "@types/react": "^18",
        "@types/react-dom": "^18",
        "postcss": "^8",
        "tailwindcss": "^3.4.1",
        "typescript": "^5"
    }
}