payload icon indicating copy to clipboard operation
payload copied to clipboard

Suggestion to bump node versions

Open Surm4 opened this issue 2 years ago • 1 comments

Link to reproduction

No response

Describe the Bug

Hello I was facing installation issue, when I was trying to get started with payload.

I'd like to suggest to bump .node-version file and package.json > engines.node property because it confuses the new user.

To Reproduce

  1. I just wanted to run npx create-payload-app for the very first time on node version 18.7.1 and then I selected ecommerce template and in a result I got an installation error. Having ubuntu operating system might also be the case but it looks like on the current node LTS version it installed properly so I guess the problem is there.

payload bump version

Payload Version

2.4.0

Adapters and Plugins

No response

Surm4 avatar Dec 18 '23 16:12 Surm4

Have you tried to reproduce on ubuntu?

Surm4 avatar Dec 22 '23 22:12 Surm4

Hey @Surm4 I tried to reproduce this on Ubuntu 22 LTS with these steps:

  1. nvm install 18.17.1
  2. nvm use 18.17.1
  3. npx create-payload-app
  4. choose ecommerce and then defaults

And it installs successfully for me with no errors.

In your screenshots I see this error image This suggests that it's instead an issue with the connection to npm instead

Are you able to reproduce this consistently? If so more information might be useful here, but I will mark it as can't reproduce for now

paulpopus avatar Jan 10 '24 15:01 paulpopus

Closing as cannot reproduce. Please provide some more detail if this should be reopened.

denolfe avatar Apr 02 '24 18:04 denolfe