I got this error after using “npm install -g @forge/cli” this command
C:\Windows\System32>npm install -g @forge/cli
npm warn deprecated [email protected]: 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 [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Please switch to @apidevtools/json-schema-ref-parser
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: 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