-
Notifications
You must be signed in to change notification settings - Fork 41
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
wp-now: Include minimum node.js and npm requirements #83
Comments
Thanks for the report, @jonathanbossenger !
Out of curiosity, did you see this warning? playground-tools/packages/wp-now/src/main.ts Lines 7 to 11 in 02f25d4
Sounds great! Feel free to submit a pull request if you'd like. |
Interestingly, no I did not, but it looks like this was merged on the same day as I had the error, so it's possible I did this before the update. I'll That being said, as a documentation nerd, I'm never going to not want to document requirements. 😁 Will work on the PR. If I could ask you to assign this ticket to me? Thanks |
@danielbachhuber At WordPress/gutenberg#52462 I'm working on a Quick Start Guide for the Interactivity API where |
We documented the minimum and recommended Node versions with #90 We also looked into showing the warning message for Node 14. For a variety of technical complications, we're going to leave things as-is. Gutenberg should switch to Node 18 shortly, which should improves the rocky user experience for Gutenberg contributors: WordPress/gutenberg#52363 |
Include human-readable captions in the initial progress indicator. Co-authored-by: Adam Zieliński <[email protected]>
After installing wp-now, I attempted to run it in "WordPress" mode by simply calling
wp-now start
inside a local WordPress directory. I was met with "ReferenceError: Event is undefined errors", which was due to running node.js version 14. I had to bump my version up to at latest LTS (version 18.20 at the time of this writing).Therefore it might be a good idea to include a "minimum node.js and npm" requirements section in the wp-now readme.md.
FWIW this is probably because Gutenberg development used to require v 14 of node.js, but I think this has recently been updated, and I'm still on the old version.
The text was updated successfully, but these errors were encountered: