Help ! I can't install dependencies

Why can’t I access the node package resources? Some previous articles show that VERCEL_CLI_VERSION=vercel@34.3.0 should be used, but it still doesn’t work for me. I can clearly access npm locally.

[15:55:50.380] Running build in Washington, D.C., USA (East) – iad1
[15:55:50.601] Cloning github.com/inksnowhailong/inksnow-blog (Branch: master, Commit: b07a376)
[15:55:50.618] Skipping build cache, deployment was triggered without cache.
[15:55:51.426] Cloning completed: 821.379ms
[15:55:52.264] Warning: Using the `VERCEL_CLI_VERSION` env var will opt-out of new features and bug fixes
[15:55:52.265] Installing Vercel CLI: vercel@34.3.0
[15:56:05.279] Running "vercel build"
[15:56:05.707] Vercel CLI 34.3.0
[15:56:06.371] Running "install" command: `pnpm i `...
[15:56:06.898]  WARN  Ignoring not compatible lockfile at /vercel/path0/pnpm-lock.yaml
[15:56:06.916]  WARN  GET https://registry.npmjs.org/echarts error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.916]  WARN  GET https://registry.npmjs.org/markdown-it-plantuml error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.917]  WARN  GET https://registry.npmjs.org/three error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.917]  WARN  GET https://registry.npmjs.org/vue error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.917]  WARN  GET https://registry.npmjs.org/@vuepress%2Fplugin-redirect error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.918]  WARN  GET https://registry.npmjs.org/vuepress-theme-reco error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.919]  WARN  GET https://registry.npmjs.org/@vuepress%2Fbundler-vite error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:06.919]  WARN  GET https://registry.npmjs.org/vuepress error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
[15:56:16.918]  WARN  GET https://registry.npmjs.org/echarts error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.919]  WARN  GET https://registry.npmjs.org/markdown-it-plantuml error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.919]  WARN  GET https://registry.npmjs.org/three error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.920]  WARN  GET https://registry.npmjs.org/vue error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.920]  WARN  GET https://registry.npmjs.org/@vuepress%2Fplugin-redirect error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.921]  WARN  GET https://registry.npmjs.org/vuepress-theme-reco error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.921]  WARN  GET https://registry.npmjs.org/@vuepress%2Fbundler-vite error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
[15:56:16.921]  WARN  GET https://registry.npmjs.org/vuepress error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.

Hey @inksnowhailong. What error do you see with the latest version of the CLI (i.e. without that VERCEL_CLI_VERSION env var)?

It could be a node version incompatibility. What happens if you change the node version in project settings?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.