#104·ai-town

when npm install i meet these errors could you tell me how to solve them? my node version is 20.4.0

Author: homeworkcnmCreated Aug 17, 2023Updated Jun 16, 2026

npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'D:\summer\ai-town\node_modules\@typescript-eslint\eslint-plugin', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\summer\ai-town\node_modules@typescript-eslint\eslint-plugin\dist\rules'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'D:\summer\ai-town\node_modules\@typescript-eslint\eslint-plugin\dist\rules' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup 'D:\summer\ai-town\node_modules\@jridgewell', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\summer\ai-town\node_modules@jridgewell\trace-mapping'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'D:\summer\ai-town\node_modules\@jridgewell\trace-mapping' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup 'D:\summer\ai-town\node_modules', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\summer\ai-town\node_modules@flydotio'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'D:\summer\ai-town\node_modules\@flydotio' npm WARN cleanup } npm WARN cleanup ], npm WARN cleanup [ npm WARN cleanup 'D:\summer\ai-town\node_modules\next', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'D:\summer\ai-town\node_modules\next\dist\esm\server'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'D:\summer\ai-town\node_modules\next\dist\esm\server' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path D:\summer\ai-town\node_modules\hnswlib-node