WordPress / WordPress/block-development-examples
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: core-js-pure@3.37.1, core-js@3.37.1, unrs-resolver@1.12.2
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 334
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
Possibly verifying need of #148
Entire correct build flow included below
When trying to build the examples, I receive the following error on step pnpm install
Scope: all 31 workspace projects
✓ Lockfile passes supply-chain policies (verified 14h ago)
Lockfile is up to date, resolution step is skipped
Already up to date
. prepare$ husky install
│ husky - Git hooks installed
└─ Done in 601ms
Error:
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: core-js-pure@3.37.1, core-js@3.37.1, unrs-resolver@1.12.2
Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.
? Choose which packages to build (Press to select, to toggle all, to invert selection)
○ core-js
○ core-js-pure
○ unrs-resolver
a- toggle all pre-approve builds
returnto submit
? The next packages will now be built: core-js, core-js-pure, unrs-resolver.
Do you approve? (y/N)
(approving...)
Do you approve? Yes
node_modules/.pnpm/core-js@3.37.1/node_modules/core-js: Running postinstall script, done in 153ms
node_modules/.pnpm/core-js-pure@3.37.1/node_modules/core-js-pure: Running postinstall script, done in 150ms
node_modules/.pnpm/unrs-resolver@1.12.2/node_modules/unrs-resolver: Running postinstall script, done in 136ms
pnpm run build
✅ correctly runs build
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running pnpm install in the workspace and reproduce the ignored-build prompt for core-js, core-js-pure, and unrs-resolver. Inspect the workspace's package and pnpm configuration to determine how dependency build approval should be handled, then run pnpm run build; done means installation completes without the error and the examples build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100