Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netlify部署失败 #464

Open
1 task
ninvfeng opened this issue Jun 18, 2024 · 0 comments
Open
1 task

netlify部署失败 #464

ninvfeng opened this issue Jun 18, 2024 · 0 comments

Comments

@ninvfeng
Copy link

How is Anse deployed?

Netlify

Describe the bug

直接点击项目的 Deploy With Netlify,部署日志提示错误:ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  Broken lockfile: no entry for '/@astrojs/netlify/2.3.0([email protected])' in pnpm-lock.yaml

Console Logs

9:45:09 AM: build-image version: 006dca901dab83234b4881f914ac1a189ff41daa (focal)
9:45:09 AM: buildbot version: 9bbdac2b13a98595e6082353a9003cde1cbabfa5
9:45:09 AM: Fetching cached dependencies
9:45:10 AM: Failed to fetch cache, continuing with build
9:45:10 AM: Starting to prepare the repo for build
9:45:10 AM: No cached dependencies found. Cloning fresh repo
9:45:10 AM: git clone --filter=blob:none https://github.com/ddiu8081/chatgpt-demo
9:45:11 AM: Preparing Git Reference refs/heads/main
9:45:13 AM: Starting to install dependencies
9:45:13 AM: Python version set to 3.8
9:45:13 AM: Attempting Ruby version 2.7.2, read from environment
9:45:14 AM: Using Ruby version 2.7.2
9:45:15 AM: Started restoring cached go cache
9:45:15 AM: Finished restoring cached go cache
9:45:15 AM: go version go1.19.13 linux/amd64
9:45:16 AM: Using PHP version 8.0
9:45:18 AM: v18.20.3 is already installed.
9:45:18 AM: Now using node v18.20.3 (npm v10.7.0)
9:45:18 AM: Enabling Node.js Corepack
9:45:18 AM: Started restoring cached build plugins
9:45:18 AM: Finished restoring cached build plugins
9:45:18 AM: Started restoring cached corepack dependencies
9:45:18 AM: Finished restoring cached corepack dependencies
9:45:19 AM: Installing npm packages using pnpm version 7.28.0
9:45:19 AM:  WARN  Your pnpm-lock.yaml was generated by a newer version of pnpm. It is a compatible version but it might get downgraded to version 6.0
9:45:19 AM: Lockfile is up to date, resolution step is skipped
9:45:20 AM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
9:45:20 AM:  ERR_PNPM_LOCKFILE_MISSING_DEPENDENCY  Broken lockfile: no entry for '/@astrojs/netlify/2.3.0([email protected])' in pnpm-lock.yaml
9:45:20 AM: This issue is probably caused by a badly resolved merge conflict.
9:45:20 AM: To fix the lockfile, run 'pnpm install --no-frozen-lockfile'.
9:45:20 AM: Error during pnpm install
9:45:20 AM: Failing build: Failed to install dependencies

Participation

  • I am willing to submit a pull request for this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant