Skip to content

Issues on new scaffold #443

@Antonio-Laguna

Description

@Antonio-Laguna

Describe the bug

When using npx 10up-toolkit project init as suggested on the README, if you install dependencies and just try to build (no changes), you get the following error on both the plugin and the theme:

ERROR in Input buffer contains unsupported image format

ERROR in Input buffer contains unsupported image format

ERROR in Input buffer contains unsupported image format

webpack 5.97.0 compiled with 3 errors in 490 ms
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /Users/alaguna/Projects/acretest/mu-plugins/acre-plugin
npm error workspace [email protected]
npm error location /Users/alaguna/Projects/acretest/mu-plugins/acre-plugin
npm error command failed
npm error command sh -c 10up-toolkit build

Additionally, admin-style is tried to be load but it's not generated and there's another error related to editor-style-overrides.

See below:

Image

Steps to Reproduce

  1. Create a project with npx 10up-toolkit project init
  2. Try to build

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions