coding custom blocks with MAMP
-
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 runnpm 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?
- The topic ‘coding custom blocks with MAMP’ is closed to new replies.