Skip to content

Bug: Faust uploads missing block files with blockset command #1633

@JEverhart383

Description

@JEverhart383

When running blockset against a WP Engine hosted WP install, only the block.json file appears to sync. A user reported this in this thread from Discord, and I was able to reproduce using my own site here: https://faustintl.wpengine.com/

Everything appears to look like it should in .faust directory, but accessing wp-uploads/faust/blocks only lists the block.json file, and the block is not available in the editor.

Screenshot_2023-11-07_at_9 51 56_AM Screenshot_2023-11-07_at_9 52 35_AM

The same steps in Local appear to do what I expect, and I can sync and use the block:
Screenshot_2023-11-07_at_10 10 16_AM

Applicable Versions

WordPress: 6.3.1
Faust WordPress Plugin: 1.1.0
WPGraphQL: 1.18.0
@faustwp/core: 1.2.0
@faustwp/cli: 1.2.0

  • WordPress version:

Steps To Reproduce

  1. Follow the instructions outlined in this guide: https://faustjs.org/tutorial/react-components-to-gutenberg-blocks

  2. Sync blocks to a remote WP install on WP Engine using blockset

  3. Access wp-uploads via FTP to see missing files

Link to code example:

https://github.com/JEverhart383/faust-intl/tree/feature/blockset

The current behavior

Block sync against a remote WP Engine install fails

The expected behavior

I should be able to use the block the same way I do on Local

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugIssue that causes incorrect or unexpected behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ✅ Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions