Skip to content

Demonstrates a bug in bin script generation in Rush

Notifications You must be signed in to change notification settings

lhorie/rush-bin-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rush bin bug

This rush workspace has two projects. One of them (my-cli) has a bin script, and the other (my-downstream) has my-cli as a dev dependency. After rush update and rush build, the downstream/node_modules/.bin folder does not include a symlink to cli/my-cli.js even though it is correctly specified in my-cli's package.json.

Expected behavior

Calling yarn my-cli from ./downstream should log hi

Actual behavior

$ yarn my-cli
/bin/sh: my-cli: command not found
error Command failed with exit code 127.

About

Demonstrates a bug in bin script generation in Rush

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published