Skip to content

automatic vercel deployment fail due to deprecated url.parse(); #273

@terralabs

Description

@terralabs

Describe the bug
deprecated usage of url.parse(); makes vercel deployment fail

To Reproduce
Steps to reproduce the behavior:

  1. deploy on vercel
  2. won't deploy because of deprecation warning error

Expected behavior
expected to work on vercel

Desktop (please complete the following information):

  • OS: OSX
  • Browser [ chrome ]
  • Version [ newest ]

Additional context
(node:50) [DEP0169] DeprecationWarning: url.parse() behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for url.parse() vulnerabilities.
(Use node --trace-deprecation ... to show where the warning was created)
 ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json
Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
Failure reason:
specifiers in the lockfile ({"@vercel/analytics":"^1.2.2","axios":"^1.6.8","axios-cookiejar-support":"^5.0.0","next":"14.1.4","next-swagger-doc":"^0.4.0","pino":"^8.19.0","pino-pretty":"^11.0.0","react":"^18","react-dom":"^18","react-markdown":"^9.0.1","swagger-ui-react":"^5.12.3","tough-cookie":"^4.1.4","user-agents":"^1.1.156","@tailwindcss/typography":"^0.5.12","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","@types/swagger-ui-react":"^4.18.3","@types/tough-cookie":"^4.0.5","@types/user-agents":"^1.0.4","autoprefixer":"^10.0.1","eslint":"^8.57.0","eslint-config-next":"14.1.4","postcss":"^8","tailwindcss":"^3.3.0","typescript":"^5"}) don't match specs in package.json ({"@tailwindcss/typography":"^0.5.12","@types/js-cookie":"^3.0.6","@types/node":"^20","@types/react":"^18","@types/react-dom":"^18","@types/swagger-ui-react":"^4.18.3","@types/tough-cookie":"^4.0.5","@types/user-agents":"^1.0.4","autoprefixer":"^10.0.1","eslint":"^8.57.0","eslint-config-next":"14.1.4","postcss":"^8","tailwindcss":"^3.3.0","typescript":"^5","@2captcha/captcha-solver":"^1.3.0","@playwright/browser-chromium":"^1.49.1","@vercel/analytics":"^1.2.2","axios":"^1.7.8","bufferutil":"^4.0.8","chromium-bidi":"^0.10.1","cookie":"^1.0.2","electron":"^33.2.1","ghost-cursor-playwright":"^2.1.0","js-cookie":"^3.0.5","next":"14.1.4","next-swagger-doc":"^0.4.0","pino":"^8.19.0","pino-pretty":"^11.0.0","react":"^18","react-dom":"^18","react-markdown":"^9.0.1","rebrowser-playwright-core":"^1.49.1","swagger-ui-react":"^5.18.2","tough-cookie":"^4.1.4","user-agents":"^1.1.156","utf-8-validate":"^6.0.5","yn":"^5.0.0"})
Error: Command "pnpm install" exited with 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions