wordpress-plugin-boilerplate
wordpress-plugin-boilerplate copied to clipboard
Rename Bootstrap.php to bootstrap.php
This pull requests renames the Bootstrap.php (capitalized) file to bootstrap.php (lowecase)
Reason: On linux systems, file names are case sensitive, so the install process fails at step 4 with this error message:
Error - Error: No files match the pattern: <path-to-project>/src/bootstrap.php
Error - '4. Operator is replacing plugin data' was a required step, exiting now.
Just got the same issue:
npx --version
8.5.0
node --version
v16.14.2
Fixed with:
npm install wp-strap
then renaming bootstrap.php to Bootstrap.php in node_modules/wp-strap/strap.js