GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Decap - update browserlist@latest · Issue #962 · jamstack/jamstack.org

Decap - update browserlist@latest #962

New issue
Copy link
New issue
Copy link
Open
Open
Decap - update browserlist@latest#962
Copy link

Description

@VadneyK
VadneyK
opened on May 2, 2024
Issue body actions

Pressing the "deploy to netlify" button here causes the following error.
image

according to the AI response,
npx browserslist@latest --update-db
should be run on the deployment container.
I'm not sure how to do that with this repo.
Can I just clone the repo and run the command?

Attached below it the actual error log for your reference. Anyone else get the same issue?

3:12:11 PM: node:internal/errors:496
3:12:11 PM:     ErrorCaptureStackTrace(err);
3:12:11 PM:     ^
3:12:11 PM: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/parser' is not defined by "exports" in /opt/build/repo/node_modules/next/node_modules/postcss/package.json
3:12:11 PM:     at new NodeError (node:internal/errors:405:5)
3:12:11 PM:     at exportsNotFound (node:internal/modules/esm/resolve:366:10)
3:12:11 PM:     at packageExportsResolve (node:internal/modules/esm/resolve:713:9)
3:12:11 PM:     at resolveExports (node:internal/modules/cjs/loader:590:36)
3:12:11 PM:     at Module._findPath (node:internal/modules/cjs/loader:664:31)
3:12:11 PM:     at Module._resolveFilename (node:internal/modules/cjs/loader:1126:27)
3:12:11 PM:     at Module._load (node:internal/modules/cjs/loader:981:27)
3:12:11 PM:     at Module.require (node:internal/modules/cjs/loader:1231:19)
3:12:11 PM:     at require (node:internal/modules/helpers:177:18)
3:12:11 PM:     at 552 (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11590)
3:12:11 PM:     at __nccwpck_require__ (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11735)
3:12:11 PM:     at 270 (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:400)
3:12:11 PM:     at __nccwpck_require__ (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11735)
3:12:11 PM:     at 327 (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:260)
3:12:11 PM:     at __nccwpck_require__ (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:11735)
3:12:11 PM:     at 845 (/opt/build/repo/node_modules/next/dist/compiled/postcss-scss/scss-syntax.js:1:3733) {
3:12:11 PM:   code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
3:12:11 PM: }
3:12:11 PM: Node.js v18.20.2
3:12:11 PM: ​
3:12:11 PM: "build.command" failed                                        
3:12:11 PM: ────────────────────────────────────────────────────────────────
3:12:11 PM: ​
3:12:11 PM:   Error message
3:12:11 PM:   Command failed with exit code 1: npm run export (https://ntl.fyi/exit-code-1)
3:12:11 PM: ​
3:12:11 PM:   Error location
3:12:11 PM:   In build.command from netlify.toml:
3:12:11 PM:   npm run export
3:12:11 PM: ​
3:12:11 PM:   Resolved config
3:12:11 PM:   build:
3:12:11 PM:     command: npm run export
3:12:11 PM:     commandOrigin: config
3:12:11 PM:     publish: /opt/build/repo/dist
3:12:11 PM:     publishOrigin: config
3:12:11 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
3:12:11 PM: Failing build: Failed to build site
3:12:12 PM: Finished processing build request in 27.164s

Thanks!

Activity

  1. matbrgz commented on Oct 5, 2026

    @matbrgz
    matbrgz
    on Oct 5, 2026
    Contributor
    More actions

    The deploy button pointed at a third-party Next.js template that no longer builds. #1117 switches it to Decap's official maintained starter. Thanks for the detailed log!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.