Skip to content

Issue report or feature request #423

@dadameck

Description

@dadameck

Please fill out this template to help us diagnose and address your issue effectively.

Type: (Select one)

  • Bug Report
  • Feature Request

Summary:
Yarn build error since node version 22.16.0

  • Briefly describe the issue or feature request.
    We have not been able to get the custom buyer portal to build since the minimum node version got updated to 22.16.0. Using this version of node we get alternating errors when we run yarn build
    storefront:build: [commonjs--resolver] EMFILE: too many open files, open 'C:\Users\counter.PSCINC\Desktop\b2b-buyer-portal-fork\node_modules@mui\base\ClickAwayListener\package.json'
    and
    storefront:build: error during build:
    storefront:build: [vite]: Rollup failed to resolve import "copy-to-clipboard" from "C:/Users/counter.PSCINC/Desktop/b2b-buyer-portal-fork/apps/storefront/src/pages/QuoteDetail/index.tsx".
    Does anyone have any insight on this error or experienced it themselves? We were able to build perfectly fine before being forced to update our node version.

Expected Behavior:

  • Describe what you expect to happen under normal circumstances.
    successful build

Actual Behavior:

  • Describe what is actually happening.
    Above errors

Steps to Reproduce (Bug Reports Only):

  1. List the specific steps necessary to reproduce the bug.
  2. Include screenshots or screen recordings (if applicable) to visually demonstrate the issue.

yarn build on node version 22.16.0

Additional Information:

  • Include any other relevant details that might help us understand the issue.
    • Browser version (e.g., Chrome 110, Firefox 108)
    • OS version (e.g., Windows 11, macOS Monterey)
    • Any third-party libraries or dependencies used (versions if possible)

Windows 11
node version 22.16.0
yarn version 1.22.22

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