wordpress-plugin-boilerplate icon indicating copy to clipboard operation
wordpress-plugin-boilerplate copied to clipboard

Rename Bootstrap.php to bootstrap.php

Open MinKaizen opened this issue 4 years ago • 1 comments

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.

MinKaizen avatar Sep 20 '21 12:09 MinKaizen

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

malijani avatar Mar 27 '22 16:03 malijani