Skip to content

Missing generated/16px/paths in @blueprints/icons #5645

@dlech

Description

Environment

  • Package version(s): @blueprints/icons v4.6.1
  • Operating System: N/A
  • Browser name and version: N/A

Actual behavior

CI for depedabot updates is failing due to missing files in the @blueprints/icons v4.6.1 package.

Example error message and stack trace from https://github.com/pybricks/pybricks-code/actions/runs/3191502668/jobs/5207890478#step:6:3181

    Cannot find module './generated/16px/paths' from 'node_modules/@blueprintjs/icons/lib/cjs/iconSvgPaths.js'

    Require stack:
      node_modules/@blueprintjs/icons/lib/cjs/iconSvgPaths.js
      node_modules/@blueprintjs/icons/lib/cjs/index.js
      node_modules/@blueprintjs/core/lib/cjs/components/icon/icon.js
      node_modules/@blueprintjs/core/lib/cjs/components/button/abstractButton.js
      node_modules/@blueprintjs/core/lib/cjs/components/button/buttons.js
      node_modules/@blueprintjs/core/lib/cjs/components/alert/alert.js
      node_modules/@blueprintjs/core/lib/cjs/components/index.js
      node_modules/@blueprintjs/core/lib/cjs/index.js
      test/index.tsx
      src/notifications/i18n.test.ts

Checking the node_modules folder on a local install, we can see that indeed there is no generated/ folder. So it seems like this folder was not included in the build that was published to npm for some reason.

Expected behavior

New packages should not be broken 😉

Possible solution

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions