Skip to content

Ignite Build issue: Can't locate Prism files and can't read the assets directory #847

@r-token

Description

@r-token

When I build my website with the ignite build CLI command, I get the following output:

❯ ignite build
⚙️  Building your site...
Generating CSS for custom styles. This may take a moment...
📘 Publish completed with exceptions:
        📕 Failed to locate syntax highlighter JavaScript: Resources/js/prism-html.
        📕 Failed to locate syntax highlighter JavaScript: Resources/js/prism-json.
        📙 Could not read the assets directory. Please file a bug report.

✅ Successfully built!

The build executes successfully and I can deploy my website with no issues, but I do get those three build exceptions. All of the images and the favicon in my Assets directory render properly, and JavaScript syntax highlighting in my markdown blog posts works as expected - so I'm not sure what the fallout is (if any) from these build issues.

Happy to help with whatever you need to get this figured out!

You can see the full source code for my Ignite site, including the Build output directory, here: https://github.com/r-token/ryantoken.com-v4-ignite

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions