Closed surfmuggle closed 7 months ago
I have switchted to node v20.7.0 and npm 9.7.1. I changed the path for prefix: npm get prefix
returns C:\Users\<myuser>\AppData\Roaming\npm
.
I tried to run npm update
and it failed with the same error basically: EPERM: operation not permitted, mkdir 'C:\'
.
Then i did run npm install -g npm@latest
and now have npm -v 10.4.0
. I tried npm install jasmine
as local admin and as normal user and it failed with EPERM: operation not permitted, mkdir 'C:\'
.
So i assume this is an issue with my box and not with utam.
Actual behavior
On windows i wanted to run
npm install utam --save-dev
npm install salesforce-pageobjects --save-dev
on a command prompt with local admin rigths.
The installation failed (see log extract below).
C:\>
so that i can create it manually to be able to install utam.Bug options
What is your expected behavior?
The installation should not fail. If a certain folder needs to be created an output stating the name of the folder that needs to be created including its path would be helpfull. The user could create the folder manually.
Steps to reproduce
Set up a windows box where the user or certain processes have restricted rights to create folders on the main drive
C:\>
Environment
Additional context
See the log
Log 1 from
npm install utam --save-dev
This is the logfile content from
npm install utam --save-dev
Log 2 from
npm install salesforce-pageobjects --save-dev
This is the logfile content from
npm install salesforce-pageobjects --save-dev