yarnpkg/yarn

Windows gets unlink error when running yarn while an executable is running

Open

#2,685 opened on 2017年2月12日

GitHub で見る
 (36 comments) (17 reactions) (0 assignees)JavaScript (41,514 stars) (2,731 forks)batch import
cat-featuregood first issuehelp wantedos-windowstriaged

説明

Do you want to request a feature or report a bug? bug

What is the current behavior? When running yarn while nodemon is running I get EPERM: operation not permitted, unlink 'C:\\cygwin\\home\\Adam\\projects\\newyoc\\server\\node_modules\\.bin\\nodemon'. This causes the files in node_modules/.bin to become non executable. This forces me to quit all running processes every time I want to run yarn which is a big hit to productivity. This doesn't happen on linux.

If the current behavior is a bug, please provide the steps to reproduce.

  1. Be on windows
  2. Install nodemon
  3. Run nodemon
  4. Run yarn

What is the expected behavior? No error

Please mention your node.js, yarn and operating system version. Node: v6.9.5 Yarn: 0.19.1 OS: Windows 10

コントリビューターガイド