I got this error after using “npm install -g @forge/cli” this command
C:\Windows\System32>npm install -g @forge/cli
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated gar@1.0.4: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated json-schema-ref-parser@9.0.9: Please switch to @apidevtools/json-schema-ref-parser
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated memfs@3.6.0: this will be v4
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@types\serve-static\node_modules\@types'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@types\\serve-static\\node_modules\\@types'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@types\\serve-static',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@types\serve-static\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@types\\serve-static\\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@types',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@types\serve-static'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@types\\serve-static'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@cspotcode',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\@cspotcode\source-map-support'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\\Users\\Chinmay Borkar\\AppData\\Roaming\\npm\\node_modules\\@forge\\cli\\node_modules\\@cspotcode\\source-map-support'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\cloudflared
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c node scripts/postinstall.mjs && node lib/cloudflared.js -v
npm error Installed cloudflared to C:\Users\Chinmay Borkar\AppData\Roaming\npm\node_modules\@forge\cli\node_modules\cloudflared\bin\cloudflared.exe
npm error 'C:\Users\Chinmay' is not recognized as an internal or external command,
npm error operable program or batch file.
npm error A complete log of this run can be found in: C:\Users\Chinmay Borkar\AppData\Local\npm-cache\_logs\2024-06-08T19_12_28_813Z-debug-0.log
Node version- 20.14.0
npm version- 10.7.0