• Resolved Ben Rothman

    (@brothman01)


    Hello, I am doing a coding project that requires custom blocks and I want to use mamp rather than docker trying to use this repo from WordPress: https://github.com/WordPress/gutenberg-examples

    I see that the readme says to use docker but I would rather use MAMP here. Are there setting(s) that I have to change in order for this to work with MAMP? when I run npm install that is no problem, but when I run npm build I get errors:
    “> [email protected] build /Applications/MAMP/htdocs/block-site/wp-content/plugins/gutenberg-examples
    > npm run build:01-basic && npm run build:03-editable && npm run build:04-controls && npm run build:05-recipe

    > [email protected] build:01-basic /Applications/MAMP/htdocs/block-site/wp-content/plugins/gutenberg-examples
    > cd 01-basic-esnext && npm run build

    > [email protected] build /Applications/MAMP/htdocs/block-site/wp-content/plugins/gutenberg-examples/01-basic-esnext
    > wp-scripts build
    “.
    What settings do I have to tweak and/or where can I get that information?

Viewing 1 replies (of 1 total)
  • Thread Starter Ben Rothman

    (@brothman01)

    “with MAMP” in the title should have been “On MAMP” lol but I figured it out, np.. It was just a misconfiguration of my package.json file.

Viewing 1 replies (of 1 total)
  • The topic ‘coding custom blocks with MAMP’ is closed to new replies.