I encountered an issue when running npm install:
$ npm i
npm WARN deprecated @babel/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="2b5b475e4c4245065b59445b44584a470648474a5858065b59445b4e595f424e586b1c051a13051d">[email protected]</a>: This plugin is no longer maintained due to the proposal being merged into the ECMAScript standard. Please use @babel/plugin-transform-class-properties instead.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'D:\\Progects\\q\\apa-main\\node_modules\\@nx\\next\\node_modules\\@nx\\workspace',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\Progects\q\apa-main\node_modules\@nx\next\node_modules\@nx\workspace\src\generators\ci-workflow\files'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'D:\\Progects\\q\\apa-main\\node_modules\\@nx\\next\\node_modules\\@nx\\workspace\\src\\generators\\ci-workflow\\files'
npm WARN cleanup }
npm WARN cleanup ],
...
A few hours ago, I installed a new Windows OS on my PC, but everything is working fine on my other PC running the latest version of Windows 11.
Can anyone assist me in finding a solution to this issue?
I attempted to install different versions of Node.js and modify environmental variables, but it did not resolve the problem.