You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Fails on building the package, npm does not fail
If the current behavior is a bug, please provide the steps to reproduce.
yarn install prepush-hook or yarn install with prepush-hook in package.json
[4/4] Building fresh packages...
[1/7] ⠂ fsevents
[2/7] ⠂ buffertools
[3/7] ⠂ node-sass
[4/7] ⠂ prepush-hook
error ......\node_modules\prepush-hook: Command failed.
Exit code: 1
Command: C:\WINDOWS\system32\cmd.exe
Arguments: /d /s /c hook_install
Directory: .....\node_modules\prepush-hook
Output:
The command "hook_install" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
it looks like yarn is unable to find the binary file. Inside the package.json of prepush-hook are the following configurations:
Using Yarn 1.16.0
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Fails on building the package, npm does not fail
If the current behavior is a bug, please provide the steps to reproduce.
yarn install prepush-hook or yarn install with prepush-hook in package.json
[4/4] Building fresh packages...
[1/7] ⠂ fsevents
[2/7] ⠂ buffertools
[3/7] ⠂ node-sass
[4/7] ⠂ prepush-hook
error ......\node_modules\prepush-hook: Command failed.
Exit code: 1
Command: C:\WINDOWS\system32\cmd.exe
Arguments: /d /s /c hook_install
Directory: .....\node_modules\prepush-hook
Output:
The command "hook_install" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
it looks like yarn is unable to find the binary file. Inside the package.json of prepush-hook are the following configurations:
"bin": {
"hook_install": "./bin/install",
"hook_uninstall": "./bin/uninstall",
"pre-push": "./bin/pre-push"
},
"scripts": {
"install": "hook_install",
"uninstall": "hook_uninstall"
},
i think this is sort of uncommon.
What is the expected behavior?
Yarn should build the package, like npm does
Please mention your node.js, yarn and operating system version.
node 6, yarn 1.16, windows 10 x64
The text was updated successfully, but these errors were encountered: