Structured Content 2022: Join our conference to explore fresh perspectives on content and digital experiences →

Hello, Does anyone know what I could've done to result in these? I suspect it's something with the packages being installed and node modules not being up to date... Seepackage.json...

2 replies
Last updated: Jan 20, 2021

Hello, Does anyone know what I could've done to result in these? I suspect it's something with the packages being installed and node modules not being up to date... See package.json in thread.

Jan 20, 2021, 1:53 PM

package.json

{
  "name": "voltilp",
  "private": true,
  "version": "1.0.0",
  "description": "",
  "main": "package.json",
  "author": "SEU Developer <dev@searchengineunity.com>",
  "license": "UNLICENSED",
  "scripts": {
    "start": "sanity start",
    "test": "sanity check",
    "deploy": "npm run graphql-deploy && npm run sanity-deploy",
    "graphql-deploy": "sanity graphql deploy --generation gen2",
    "sanity-deploy": "sanity deploy",
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "format": "prettier --write ."
  },
  "keywords": [
    "sanity"
  ],
  "dependencies": {
    "@sanity/base": "^2.1.6",
    "@sanity/color-input": "^2.1.4",
    "@sanity/components": "^2.1.4",
    "@sanity/core": "^2.1.4",
    "@sanity/default-layout": "^2.1.6",
    "@sanity/default-login": "^2.1.4",
    "@sanity/desk-tool": "^2.1.6",
    "@sanity/vision": "^2.1.4",
    "prop-types": "^15.6",
    "react": "^16.2",
    "react-dom": "^16.2",
    "react-icons": "^3.10.0",
    "sanity-plugin-media": "^0.2.13"
  },
  "devDependencies": {},
  "repository": {
    "type": "git",
    "url": "<https://github.com/SearchEngineUnity/voti-lp.git>"
  }
}

Jan 20, 2021, 1:54 PM

Hi Sharon, could you try removing your

node_modules
folder and
package-lock.json
file before running
npm install
and trying once more?

Jan 20, 2021, 2:35 PM

Sanity.io: Get the most out of your content

Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Give your team exactly what they need to edit and publish their content with the customizable Sanity Studio. Get real-time collaboration out of the box. Sanity.io comes with a hosted datastore for JSON documents, query languages like GROQ and GraphQL, CDNs, on-demand asset transformations, presentation agnostic rich text, plugins, and much more.

Don't compromise on developer experience. Join thousands of developers and trusted companies and power your content with Sanity.io. Free to get started, pay-as-you-go on all plans.