processing / processing/p5.js

npm run grunt no longer works and needs to be updated to npx grunt

Open
#6,285 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Build Process Enhancement
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

Increasing Access

The current method of setting up the development environment using the command "npm run grunt" is no longer functional. This is due to changes in the way npm handles scripts and dependencies. To address this, we need to update the setup process to use "npx grunt" instead of "npm run grunt."

Most appropriate sub-area of p5.js?
  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build Process
  • Unit Testing
  • Internalization
  • Friendly Errors
  • Other (specify if possible)
Feature enhancement details

This issue aims to update the documentation, scripts, or any relevant configuration files to reflect the correct usage of "npx grunt" for setting up the development environment effectively.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's development-environment documentation and npm/Grunt configuration for references to "npm run grunt". Update the relevant setup instructions or scripts to use "npx grunt", then verify that the documented development setup works with the new command.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.