Strapi error while installing dependencies (windows)

I was about to start strapi project by “npx create-strapi-app backend-strapi –quickstart” and “npx create-strapi-app@latest backend-strapi”, but while installing dependencies, i have an error.

PS D:ProgramowanieProjektyczar-ognia> npx create-strapi-app@latest backend-strapi
? Choose your installation type Quickstart (recommended)

We can't find any auth credentials in your Strapi config.

Create a free account on Strapi Cloud and benefit from:

- ✦ Blazing-fast ✦ deployment for your projects
- ✦ Exclusive ✦ access to resources to make your project successful
- An ✦ Awesome ✦ community and full enjoyment of Strapi's ecosystem

Start your 14-day free trial now!


? Please log in or sign up. Skip
Creating a quickstart project.
Creating a new Strapi application at D:ProgramowanieProjektyczar-ogniabackend-strapi.
Creating files.
Error while installing dependencies:
npm warn config production Use `--omit=dev` instead.
npm warn config optional Use `--omit=optional` to exclude optional dependencies, or
npm warn config `--include=optional` to include them.
npm warn config
npm warn config       Default value does install optional deps unless otherwise omitted.
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]: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated [email protected]: Rimraf versions prior to v4 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]: 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 project is unmaintained
npm warn deprecated @koa/[email protected]: **IMPORTANT 10x+ PERFORMANCE UPGRADE**: Please upgrade to v12.0.1+ as we have fixed an issue with debuglog causing 10x slower router benchmark performance, see https://github.com/koajs/router/pull/173
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated [email protected]: Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://github.com/node-formidable/formidable/blob/master/VERSION_NOTES.md
npm warn deprecated [email protected]: This project is unmaintained
npm warn cleanup Failed to remove some directories [
npm warn cleanup   [
npm warn cleanup     'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@swc\core',
npm warn cleanup     [Error: EBUSY: resource busy or locked, rmdir 'D:ProgramowanieProjektyczar-ogniabackend-strapinode_modules@swccore'] {
npm warn cleanup       errno: -4082,
npm warn cleanup       code: 'EBUSY',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@swc\core'
npm warn cleanup     }
npm warn cleanup   ],
npm warn cleanup   [
npm warn cleanup     'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@swc',
npm warn cleanup     [Error: ENOTEMPTY: directory not empty, rmdir 'D:ProgramowanieProjektyczar-ogniabackend-strapinode_modules@swc'] {
npm warn cleanup       errno: -4051,
npm warn cleanup       code: 'ENOTEMPTY',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@swc'
npm warn cleanup     }
npm warn cleanup   ],
npm warn cleanup   [
npm warn cleanup     'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@strapi',
npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'D:ProgramowanieProjektyczar-ogniabackend-strapinode_modules@strapiadmindistee'] {
npm warn cleanup       errno: -4048,
npm warn cleanup       code: 'EPERM',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'D:\Programowanie\Projekty\czar-ognia\backend-strapi\node_modules\@strapi\admin\dist\ee'
npm warn cleanup     }
npm warn cleanup   ]
npm warn cleanup ]
npm error code 1
npm error path D:ProgramowanieProjektyczar-ogniabackend-strapinode_modulesesbuild
npm error command failed
npm error command C:WINDOWSsystem32cmd.exe /d /s /c node install.js
npm error D:ProgramowanieProjektyczar-ogniabackend-strapinode_modulesesbuildinstall.js:133
npm error     throw new Error(`Expected ${JSON.stringify(versionFromPackageJSON)} but got ${JSON.stringify(stdout)}`);
npm error           ^
npm error
npm error Error: Expected "0.19.11" but got "0.21.5"
npm error     at validateBinaryVersion (D:ProgramowanieProjektyczar-ogniabackend-strapinode_modulesesbuildinstall.js:133:11)
npm error     at D:ProgramowanieProjektyczar-ogniabackend-strapinode_modulesesbuildinstall.js:284:5
npm error
npm error Node.js v18.20.4
npm error A complete log of this run can be found in: C:UsersplekuAppDataLocalnpm-cache_logs2024-08-01T18_41_39_276Z-debug-0.log
TypeError: Cannot read properties of undefined (reading 'addBreadcrumb')
    at C:UsersplekuAppDataLocalnpm-cache_npx2d56dd13733e9da7node_modules@strapigenerate-newdistutilsusage.js:36:31
    at Array.forEach (<anonymous>)
    at Module.captureStderr (C:UsersplekuAppDataLocalnpm-cache_npx2d56dd13733e9da7node_modules@strapigenerate-newdistutilsusage.js:35:37)
    at createProject (C:UsersplekuAppDataLocalnpm-cache_npx2d56dd13733e9da7node_modules@strapigenerate-newdistcreate-project.js:133:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async createQuickStartProject (C:UsersplekuAppDataLocalnpm-cache_npx2d56dd13733e9da7node_modules@strapigenerate-newdistcreate-quickstart-project.js:18:3)
    at async initProject (C:UsersplekuAppDataLocalnpm-cache_npx2d56dd13733e9da7node_modulescreate-strapi-appdistcreate-strapi-app.js:172:3)

If anyone knows what can cause this, please let me know,

I tried changing Node version to 22, 20 and 14 (with NPM v6.14.18)

New contributor

Jezyk is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật