Hi guys, for some reason I can not complete the build steps here on vercel only...
The deploy shall go throught and install phantomjs
npm error code 1npm error path /vercel/path0/node_modules/phantomjsnpm error command failednpm error command sh -c node install.jsnpm error PhantomJS not found on PATHnpm error (node:330) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.npm error (Use `node --trace-deprecation ...` to show where the warning was created)npm error Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefinednpm error at Object.join (node:path:1250:7)npm error at findSuitableTempDirectory (/vercel/path0/node_modules/phantomjs/install.js:127:30)npm error at /vercel/path0/node_modules/phantomjs/install.js:476:19npm error at nextTickCallback (/vercel/path0/node_modules/kew/kew.js:47:28)npm error at process.processTicksAndRejections (node:internal/process/task_queues:85:11) {npm error code: 'ERR_INVALID_ARG_TYPE'npm error } TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefinednpm error at Object.join (node:path:1250:7)npm error at findSuitableTempDirectory (/vercel/path0/node_modules/phantomjs/install.js:127:30)npm error at /vercel/path0/node_modules/phantomjs/install.js:476:19npm error at nextTickCallback (/vercel/path0/node_modules/kew/kew.js:47:28)npm error at process.processTicksAndRejections (node:internal/process/task_queues:85:11)npm error A complete log of this run can be found in: /vercel/.npm/_logs/2025-01-19T14_56_25_408Z-debug-0.logError: Command "npm install" exited with 1https://vnp-git-main-poboisverts-projects.vercel.app/
I am using next.js 13 and this package.json
{ "name": "nextjs", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint" }, "dependencies": { "@hookform/resolvers": "^3.9.0", "@next/swc-wasm-nodejs": "13.5.1", "@radix-ui/react-accordion": "^1.2.0", "@radix-ui/react-alert-dialog": "^1.1.1", "@radix-ui/react-aspect-ratio": "^1.1.0", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-checkbox": "^1.1.1", "@radix-ui/react-collapsible": "^1.1.0", "@radix-ui/react-context-menu": "^2.2.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-label": "^2.1.0", "@radix-ui/react-menubar": "^1.1.1", "@radix-ui/react-navigation-menu": "^1.2.0", "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-progress": "^1.1.0", "@radix-ui/react-radio-group": "^1.2.0", "@radix-ui/react-scroll-area": "^1.1.0", "@radix-ui/react-select": "^2.1.1", "@radix-ui/react-separator": "^1.1.0", "@radix-ui/react-slider": "^1.2.0", "@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-switch": "^1.1.0", "@radix-ui/react-tabs": "^1.1.0", "@radix-ui/react-toast": "^1.2.1", "@radix-ui/react-toggle": "^1.1.0", "@radix-ui/react-toggle-group": "^1.1.0", "@radix-ui/react-tooltip": "^1.1.2", "@thirdweb-dev/react": "^4.4.8", "@thirdweb-dev/sdk": "^4.0.38", "@types/node": "20.6.2", "@types/react": "18.2.22", "@types/react-dom": "18.2.7", "autoprefixer": "10.4.15", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "cmdk": "^1.0.0", "date-fns": "^3.6.0", "embla-carousel-react": "^8.3.0", "encoding": "^0.1.13", "eslint": "8.49.0", "eslint-config-next": "13.5.1", "ethers": "^5.7.2", "input-otp": "^1.2.4", "lucide-react": "^0.446.0", "next": "13.5.1", "next-themes": "^0.3.0", "phantomjs-prebuilt": "^2.1.16", "pino-pretty": "^13.0.0", "postcss": "8.4.30", "react": "18.2.0", "react-day-picker": "^8.10.1", "react-dom": "18.2.0", "react-fast-marquee": "^1.6.5", "react-hook-form": "^7.53.0", "react-resizable-panels": "^2.1.3", "recharts": "^2.12.7", "review": "^0.9.2", "sonner": "^1.5.0", "tailwind-merge": "^2.5.2", "tailwindcss": "3.3.3", "tailwindcss-animate": "^1.0.7", "typescript": "5.2.2", "vaul": "^0.9.9", "zod": "^3.23.8" }}