Skip to content

Creating Payload App Fails on Windows 11 #3212

Closed Answered by kave-me
kave-me asked this question in Q&A
Discussion options

You must be logged in to vote
npm cache clean --force
PS C:\Users\kavem> npm cache clean --force
npm WARN using --force Recommended protections disabled.
npx create-payload-app
PS C:\Users\kavem\work> npx create-payload-app

Welcome to Payload. Let's create a project!

√ Project name? ... p2
√ Choose project template » website
√ Enter MongoDB connection ... mongodb://localhost:32769/p1

Creating project in C:\Users\kavem\work\p2

DegitError: could not find commit hash for HEAD
at Degit._cloneWithTar (C:\Users\kavem\AppData\Local\npm-cache\_npx\2238e51406dcebe9\node_modules\degit\dist\index-688c5d50.js:14258:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Degit.clone (C:\U…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DanRibbens
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
status: cant-reproduce If an issue cannot be reproduced
3 participants
Converted from issue

This discussion was converted from issue #3201 on August 22, 2023 15:54.