yarnpkg/yarn

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

Open

#2.685 aberto em 12 de fev. de 2017

Ver no GitHub
 (36 comments) (17 reactions) (0 assignees)JavaScript (2.731 forks)batch import
cat-featuregood first issuehelp wantedos-windowstriaged

Métricas do repositório

Stars
 (41.514 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador