You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm installing this plugin to contribute a PR. When setting up the plugin, I noticed package.json and ran npm i. Checking package.json for commands, I ran npm run start. It appears that the local development workflow has an undocumented dependency on wp-scripts
Steps to Reproduce
Clone this repo.
npm install
npm run start
Result:
$ npm run start
> [email protected] start
> wp-scripts start
sh: wp-scripts: command not found
Screenshots, screen recording, code snippet
No response
Environment information
OS: macOS 14.6
shell: bash, GNU bash version 3.2.57
node: 18.18.0
npm: 9.8.1
WordPress information
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
We do already have developer documentation but it could be more explicit on the commands you need to run to get things ready.
I will say I can't reproduce the reported issue. You will need to use the proper node version, which is documented in the link above. Easiest way is to use nvm:
Describe the bug
I'm installing this plugin to contribute a PR. When setting up the plugin, I noticed
package.json
and rannpm i
. Checkingpackage.json
for commands, I rannpm run start
. It appears that the local development workflow has an undocumented dependency onwp-scripts
Steps to Reproduce
npm install
npm run start
Result:
Screenshots, screen recording, code snippet
No response
Environment information
WordPress information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: