Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter davavalos

    (@davavalos)

    It was a bug that WordPress has now fixed. Check the linked GitHub issue above for more information. Thanks!

    Thread Starter davavalos

    (@davavalos)

    Here’s the temporary fix I found on GitHub for now since it’s still bugged for anyone trying to use this.

    Run npx @wordpress/create-block@latest

    After setup, and once you get the error, open the files created and navigate to the package.json. Add the following above “dependencies”

    ”overrides”: {
    “@wordpress/upload-media”: “0.24.0”
    },

    then cd back to the folder that contains your custom block and run npm install @wordpress/scripts –save-dev

    You should be able to npm run start and build after.

Viewing 2 replies - 1 through 2 (of 2 total)