You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to rename a file on my Windows 10 PC, I get the following error message:
...previous console output...
throw err;
^
Error: EPERM: operation not permitted, rename 'C:\Users\Gum-Joe\.retis\plugins\.tmp\extract\retis-tester-1-master' -> 'C:\Users\Gum-Joe\.retis\plugins\.tmp\extract\retis-example'
at Error (native)
I had a look at Medium/phantomjs#19, where one of the comments states that this issue is only on Windows, which is true for my issue as my program works on my Raspberry Pi, which runs Raspian.
Here is a small test case (~/ = windows home directory) :
Create the directory ~/.retis/plugins/.tmp/extract/test
I had no issues running the code you provided (after adding a parenthesis at the end) on a Win10 machine. The folder was renamed correctly with no errors thrown. Are you sure you don't have the folder open in a Windows Explorer, or a command prompt?
📦 Added pip installer.
🔈 Added info about which package manager using for global
installation of packages.
🔈 Added "(language)" to installer info, with colour to show
language installing for.
🔈 Added BOLDNESS to STDERR & STDOUT output (makes it lighter)
🔈 Added ERROR! logging method (red coloured)
🎨 Moved the NVM warning into a new warnings file
(src/warnings.coffee), where the user is alerted about warnings before
build.
🎨 Added RVM to local build warnings
🐛 Fixednodejs/node#6335
🎨 Added removal of old packages if already existed, when using
--force option
⬆️ Installed rimraf@^2.5.2 for recursive removal of old
directories of plugins when using --force
v5.10.1
When attempting to rename a file on my Windows 10 PC, I get the following error message:
I had a look at Medium/phantomjs#19, where one of the comments states that this issue is only on Windows, which is true for my issue as my program works on my Raspberry Pi, which runs
Raspian
.Here is a small test case (
~/
= windows home directory) :~/.retis/plugins/.tmp/extract/test
Feel free to check out my own source code:
Coffee Script: https://github.com/jakhu/retis-ci/blob/master/src/plugins/unpacker.coffee
Compiled JavaScript: https://github.com/jakhu/retis-ci/blob/master/lib/plugins/unpacker.js
Thanks in advance!
The text was updated successfully, but these errors were encountered: