yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.44k stars 2.72k forks source link

.bin is empty on WSL #7301

Open levrik opened 5 years ago

levrik commented 5 years ago

What is the current behavior? On WSL node_modules/.bin is completely empty after an install. When using Yarn on Windows directly it installs everything like expected.

If the current behavior is a bug, please provide the steps to reproduce. Execute yarn add pino-pretty on WSL for example. Other packages with binaries are affected as well.

What is the expected behavior? It installs node_modules/.bin.

Please mention your node.js, yarn and operating system version.

yarn versions v1.16.0
{ yarn:
   '1.16.0',
  'frontend-ts':
   '1.0.0',
  http_parser:
   '2.8.0',
  node:
   '10.14.1',
  v8:
   '6.8.275.32-node.36',
  uv:
   '1.23.2',
  zlib:
   '1.2.11',
  ares:
   '1.14.0',
  modules:
   '64',
  nghttp2:
   '1.34.0',
  napi:
   '3',
  openssl:
   '1.1.0j',
  icu:
   '62.1',
  unicode:
   '11.0',
  cldr:
   '33.1',
  tz:
   '2018e' }
kmaraz commented 4 years ago

The same here, but with different packages.