Skip to content

@blueprintjs/core 6.16.0 failed with yarn build: placements missing from "@popperjs/core" #8187

Description

@comphilip

Environment

  • Package version(s): 6.16.0
  • Operating System: ubuntu 26.04
  • Browser name and version: firefox 152.0.1

Code Sandbox

NA

Steps to reproduce

  1. update latest version of blueprint/core, blueprint/datetime, blueprint/select to latest version
  2. run yarn install to install packages
  3. run yarn build to call vite build --config build/build.ts to transforming to static resources.

Actual behavior

yarn build failed:

$ yarn build
vite v8.1.0 building client environment for production...
transforming...✓ 4478 modules transformed.
rendering chunks...
✗ Build failed in 5.29s
error during build:
Build failed with 1 error:
[MISSING_EXPORT] "placements" is not exported by "node_modules/@popperjs/core/lib/index.js".
    ╭─[ node_modules/@blueprintjs/core/lib/esm/components/popover/popperUtils.js:16:10 ]
    │
 16 │ export { placements as PopperPlacements } from "@popperjs/core";
    │          ─────┬────  
    │               ╰────── Missing export
────╯
    at aggregateBindingErrorsIntoJsError (file:///builds/next/system/web/node_modules/rolldown/dist/shared/error-B68YLzl3.mjs:48:18)
    at unwrapBindingResult (file:///builds/next/system/web/node_modules/rolldown/dist/shared/error-B68YLzl3.mjs:18:128)
    at #build (file:///builds/next/system/web/node_modules/rolldown/dist/shared/rolldown-build-DR0wzp0V.mjs:3256:34)
    at async buildEnvironment (file:///builds/next/system/web/node_modules/vite/dist/node/chunks/node.js:32575:66)
    at async Object.build (file:///builds/next/system/web/node_modules/vite/dist/node/chunks/node.js:32997:19)
    at async Object.buildApp (file:///builds/next/system/web/node_modules/vite/dist/node/chunks/node.js:32994:153)
    at async CAC.<anonymous> (file:///builds/next/system/web/node_modules/vite/dist/node/cli.js:777:3) {
  errors: [Getter/Setter]
}

Expected behavior

yarn build succeed

Possible solution

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions