Having this same issue and am sad to see they never replied (likely found a solution).
Here is my code snippet of package.json:
{
"name": "gobetterway",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@heroicons/react": "^2.0.18",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"next": "13.5.4",
"react": "^18",
"react-dom": "^18",
"tailwind-merge": "^1.14.0"
},
"devDependencies": {
"@netlify/plugin-nextjs": "^4.40.2",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"autoprefixer": "^10",
"eslint": "^8",
"eslint-config-next": "13.5.4",
"postcss": "^8",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.5",
"tailwindcss": "^3",
"tailwindcss-animate": "^1.0.7",
"typescript": "^5"
}
}
Note that I opened my own issue here last night: `netlify dev` results in "Could not find function 'next-dev'"