Skip to content

Bug: Remix recipe not running #979

Open
@FedericoBonel

Description

@FedericoBonel

Description

The Puck Remix recipe does not run with either npm run dev or yarn dev; both commands throw a build-time error. This is because the tiny-invariant library is not installed as a dependency by default.

Environment

  • Puck version: 0.18.2

Steps to reproduce

  1. Create a new Puck project using the Remix recipe.
  2. Open the project folder.
  3. Run the project in development mode.

What happens

A build-time error occurs:

X [ERROR] Build failed with 1 error:
app/routes/edit.tsx:11:22: ERROR: Could not resolve "tiny-invariant" [plugin css-bundle-plugin]

You can fix this by manually installing tiny-invariant::

npm install tiny-invariant

What I expect to happen

The recipe should work out of the box without any errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions