yarnpkg/yarn
在 GitHub 查看Windows gets unlink error when running yarn while an executable is running
Open
#2,685 建立於 2017年2月12日
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.
- Be on windows
- Install
nodemon - Run
nodemon - 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