Unable to install downloadable app

I was trying to update the PPK II software, but I am receiving a error message: "Error: EPERM: operation not permitted, mkdir 'D:\'"

Well, in my Windows environment, the "D:"  is a disk partition for temporary files (TEMP=D:\).  Then if the instalation software is trying to create a directory d:\,  this operation will be denied.

I removed the previous version, but the problem still happen.

Could you help me?

Regards,

Cláudio

  • Just as a temporary workaround there is a python lib that allows you to control the PPK over CLI which might be worth checking out https://github.com/IRNAS/ppk2-api-python 

    Its no graphical application and it is not made by us. However it has some pros like it would be easier to integrate with automated testing 

    Regards

    Runar

  • The feedback I got was the application uses whatever the computer has set as the "temp" directory as the source for where to create a folder for some files. so I do not unfortunately have any good solution for you if admin did not work

    Regards

    Runar

  • Setting TEMP to a drive is not recommended. Always use a folder (like D:\TEMP) for the temporary dir.

    I believe you can run out of space for file/folder names in the root folder - at least it was this way on FAT/ExFAT. You cannot really run out of space in a sub folder (these auto expand as long as there is free disk space).

    This also makes it much easier to set up proper privileges/ACLs. Note that you may need to use command line tools if you run home windows version.

  • Good morning,

    I am certified Windows Engineer with more then 30 years of experience in IT, then I prepared my computer to be able to be simple, and as you can see in the partition the computer has more the 5GB free.  If I need to clean the temporary files, I just delete the entire partition D: disk because all of files the I have there are temporary.

    This computer configuration has more than 4 years without problems.

    The entire disk partition is dedicate for temporary files.

    Thank you by your effort to help, but I am not seeing what is the relationship because it was working two week ago.  But when I tried to do a update in the PPK II software, the process failed and I can´t reinstall it anymore

    As I am begining to try to learn Zephyr in the nRF52840-DK in the course nRF Connect SDK Fundamentals , I installed the VSCode the preparation, and maybe something in the instalation changed the npm configurations.... just maybe....

    Take a look in the disk partitions in the screenshot below:

Related