Next Js:找不到与“2.7.0”匹配的“@now/build-utils”的任何版本

时间:2021-01-14 01:47:01

标签: reactjs next.js vercel

当尝试将我的 SPA 应用部署到 https://vercel.com/ 时,构建日志给了我这条消息并且构建失败!

Couldn't find any versions for "@now/build-utils" that matches "2.7.0"

我的 Package.json

{
  "name": "nexttest",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start"
  },
  "dependencies": {
    "@ant-design/icons": "^4.3.0",
    "@react-icons/all-files": "^4.1.0",
    "@zeit/next-css": "^1.0.1",
    "@zeit/next-less": "^1.0.1",
    "@zeit/next-sass": "^1.0.1",
    "antd": "^4.10.0",
    "axios": "^0.21.1",
    "bootstrap": "^4.5.3",
    "bulma": "^0.9.1",
    "cookie": "^0.4.1",
    "crypto-js": "^4.0.0",
    "js-cookie": "^2.2.1",
    "jsonwebtoken": "^8.5.1",
    "moment": "^2.29.1",
    "next": "10.0.4",
    "next-images": "^1.6.2",
    "nprogress": "^0.2.0",
    "react": "17.0.1",
    "react-bootstrap": "^1.4.0",
    "react-cookie": "^4.0.3",
    "react-dom": "17.0.1",
    "react-hook-form": "^6.14.0",
    "react-select": "^3.1.1",
    "sass": "^1.32.0",
    "scss": "^0.2.4"
  }
}

我试图删除节点模块文件夹和包锁文件以及相同的内容

0 个答案:

没有答案