#Warning Could not identify Next.js version, ensure it is defined as a project dependency

3 messages · Page 1 of 1 (latest)

white topaz
#

The thing builds locally

sly hornet
#

Can you post the contents of your package.json file?

white topaz
# sly hornet Can you post the contents of your package.json file?
{
  "name": "website",
  "private": true,
  "version": "0.0.1",
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint",
    "test": "playwright test --reporter=list"
  },
  "dependencies": {
    "@playwright/test": "1.25.0",
    "@portabletext/react": "1.0.6",
    "@sanity/client": "3.3.3",
    "@sanity/image-url": "1.0.1",
    "next": "12.2.5",
    "next-sanity": "0.8.1",
    "next-sanity-image": "4.1.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-masonry-css": "^1.0.16",
    "react-responsive-masonry": "2.1.5"
  },
  "devDependencies": {
    "@types/node": "18.7.6",
    "@types/react": "18.0.17",
    "autoprefixer": "10.4.8",
    "eslint": "8.22.0",
    "eslint-config-next": "12.2.5",
    "postcss": "8.4.16",
    "tailwindcss": "3.1.8",
    "typescript": "4.7.4"
  }
}