trufflesuite / truffle

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
14.02k stars 2.31k forks source link

Error: EPERM: operation not permitted, rename #487

Closed madhump closed 7 years ago

madhump commented 7 years ago

Issue

When I try to install truffle under new project

truffle unbox react

with this command , system is showing this error.

Downloading... events.js:182 throw er; // Unhandled 'error' event ^

Error: EPERM: operation not permitted, rename 'C:\Users\xxx\testmp\1499776562456-8641822413139135\react-box-master' -> 'C:\Users\xxx\AppData\Local\Temp\tmp-84442B9tBgD7S263'

Steps to Reproduce

Please provide the shortest amount of steps to reproduce your issue.

Expected Behavior

Install correctly

Actual Results

Downloading... events.js:182 throw er; // Unhandled 'error' event ^

Error: EPERM: operation not permitted, rename 'C:\Users\xxx\testmp\1499776562456-8641822413139135\react-box-master' -> 'C:\Users\xxx\AppData\Local\Temp\tmp-84442B9tBgD7S263'

Environment

gnidan commented 7 years ago

This is now fixed in Truffle v3.4.4. Please open a new issue if you find any additional problems. Thanks a bunch!