netlify / remix-template

Deploy your Remix site to Netlify
83 stars 27 forks source link

`remix.init` script fails if chosen to run during `create-remix` bootstrapping #148

Closed Sophon96 closed 1 month ago

Sophon96 commented 1 month ago

Describe the bug The remix.init script fails when trying to bootstrap a project using this template with no further error message.

To Reproduce Steps to reproduce the behavior:

  1. Run pnpm create remix@latest --template netlify/remix-template or pnpm dlx create-remix@latest --template netlify/remix-template
  2. Complete all the default remix dialog options, choosing to install dependencies
  3. Choose to run remix.init script
  4. Script will error with no further information.

The script does run properly if one chooses to not run it during the create-remix dialog, and runs it after remix has bootstrapped the project (i.e. pnpm exec remix init).

Expected behavior The script should run without issue when choosing to run it in the create-remix dialog.

Screenshots N/A

Desktop (please complete the following information):

pieh commented 1 month ago

This now should be fixed. Thanks for reporting it!

Sophon96 commented 1 month ago

Awesome, confirmed that it works on my machines!