EPERM: operation not permitted, open '....node_modules\win-ca\pem\roots.pem'
See original GitHub issue- SKD version -
@sentry/electron@v1.1.0
- Electron version -
electron@v7.1.5
- Platform -
Windows Store
Description
Since we upgraded this package from v1.0.0 to v1.1.0 we see a lot of these errors for our Windows Store users:
EPERM: operation not permitted, open 'C:\Program Files\WindowsApps\<APP_NAME>.27241E05630EA_2.11.3.0_x86__kn85bz84x7te4\app\resources\app.asar.unpacked\node_modules\win-ca\pem\roots.pem'
I noticed in the changelog that you introduced this win-ca
package in v1.1.0. Looks like this issue might be related?
Is downgrading to v1.0.0 the best solution for now? I couldn’t find any open issues, hence why I opened this one.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
npm - EPERM: operation not permitted on Windows
I use Windows 10. I started the CMD as administrator, and it solved the problem. Find CMD, right click, and click open as...
Read more >npm install fails on Windows: "Error: EPERM: operation not ...
I work on Windows 10, up to date installation. npm i runs in powershell node v5.2.0 npm v3.3.12 This error occures every time....
Read more >Error: EPERM: operation not permit… | Apple Developer Forums
I am installing packages for NODEJS/NPM and am receiving the following error, which, apparently, is not an error with the software, but with...
Read more >Fixing intermittant 'EPERM: operation not permitted' on npm ...
The npm install step in my Teamcity CI build for an angular app I have been working has been failing intermittently and I...
Read more >npm ERR! Error: EPERM: operation not permitted [Solved]
To solve the error npm ERR! Error: EPERM: operation not permitted, close your IDE (e.g. Visual Studio Code) and stop your development server....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The virtualisation could certainly be the issue.
win-ca
will apparently attempt a few paths and the virtualisation can give the appearance of writing success but as files don’t persist this will then cause issues. I’ve opened a PR (#206) that makeswin-ca
use the sentry cache path which will hopefully fix this as we know it’s writable. I’ve also made it so that any errors that occur while callingwin-ca
are now ignored as this failure will not impact the vast majority of users.electron-fetch
was completely broken forelectron@7
for a couple of months and it has also broken functionality insentry-electron
before. It did get fixed to work forelectron@7
, but there are many unresolved issues and while these issues are outstanding, it doesn’t seem like a great idea to continue to rely on it as a dependency.1.2.0
is out now