-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Self-service
- I'd be willing to implement a fix
Describe the bug
The 'postinstall' script is not automatically executed when running 'yarn install', but 'yarn run postinstall' works
package.json
"scripts": {
"postinstall": "echo '@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'",
},
.yarnrc.yml
nodeLinker: node-modules
enableScripts: true
yarnPath: .yarn/releases/yarn-4.4.1.cjs
yarn install
➤ YN0000: · Yarn 4.4.1
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 0s 494ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ eslint is listed by your project with version 9.10.0 (pc6ea3), which doesn't satisfy what eslint-plugin-import and other dependencies request (but they have non-overlapping ranges!).
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 4s 987ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 1s 410ms
➤ YN0000: · Done with warnings in 7s 66ms
yarn run postinstall
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
To reproduce
run 'yarn install'
Environment
System:
OS: macOS 13.6.1
CPU: (4) x64 Intel(R) Core(TM) i5-4308U CPU @ 2.80GHz
Binaries:
Node: 20.10.0 - /private/var/folders/4w/69gblgzx3111pg1w3t6whsgm0000gn/T/xfs-c44d8ae0/node
Yarn: 4.4.1 - /private/var/folders/4w/69gblgzx3111pg1w3t6whsgm0000gn/T/xfs-c44d8ae0/yarn
npm: 10.2.3 - /usr/local/bin/npm
npmPackages:
jest: ^29.6.3 => 29.7.0
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working