Tone.js icon indicating copy to clipboard operation
Tone.js copied to clipboard

generate_docs.cjs is missing

Open CalvinJamesHeath opened this issue 8 months ago • 1 comments

Describe the bug

Attempting to run npm run docs in the Tone.js repository results in an error: Error: Cannot find module '/root/Tone.js/scripts/generate_docs.cjs'

To Reproduce

  1. Clone the Tone.js repository.
  2. Navigate to the project directory.
  3. Run npm install to install dependencies.
  4. Run npm run docs.

Expected behavior The npm run docs command should execute the generate_docs.cjs script to generate the project's documentation.

What I've tried

  1. Verified that the generate_docs.cjs file is indeed missing from the scripts directory.
  2. Checked the repository's branches and commit history to see if the script was removed or relocated.
  3. Searched for any documentation or issues referencing the generate_docs.cjs script.

CalvinJamesHeath avatar May 05 '25 22:05 CalvinJamesHeath

good catch, i think that this npm script is no longer used, probably can be removed.

The docs build script actually only calls npm run build:json

tambien avatar May 18 '25 15:05 tambien