-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] template not working #10813
Comments
Please add a reproduction in order for us to be able to investigate. Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided. Why was this issue marked with the
|
this is nonsense |
The first link is our website template. The second link is the payloadcms.com website source code, not a template
Depending on how the template is cloned down, installation may be required (e.g. if it's cloned down using git). We'll try to reproduce this on windows. In the meantime, could you create a new project using create-payload-app and share its entire log output? Does the issue only occur using the website template, or is the blank template affected as well? |
I reproduced this on my Windows machine. Initially I didn't with pnpm 8, but I set to 10 (the same as yours) and got the same error.
I'd suggest you to not use pnpm 10 for now as it doesn't use tag "latest" so I don't think it's considered stable, but you can also add this to your package.json and reinstall node_modules. |
@r1tsuu |
Let's keep this issue opened while the PR is not merged |
Describe the Bug
I'll start with a question
You have a separate repository "website" and an example "website", which of the two "websites" is worth it and which one should I take?
https://github.com/payloadcms/payload/tree/main/templates/website
https://github.com/payloadcms/website
and another question, why is there a different installer in different examples (yes, I know that I can use any one)?
and now to the problem
I followed this link https://github.com/payloadcms/payload/tree/main/templates/website#clone
and followed the steps indicated there
and here is also an interesting point... in the documentation you say installation is required, but pnpm says no.
Okay, we're done with the contradictions in the documentation, let's move on.
and here we learn that the template cannot be installed and executed without unnecessary manipulations. I suppose it should not be so.
Link to the code that reproduces this issue
what code ? run your template on windows pc
Reproduction Steps
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: