Skip to content

Conversation

@kentcdodds
Copy link
Member

@kentcdodds kentcdodds commented Oct 24, 2025

@Jarred-Sumner, you think I could get help here from you or someone else on your team? I'm having trouble with bun install:

bun install
[0.04ms] ".env"
bun install v1.3.1 (89fa0f34)

$ cd ./example && bun install --prefer-offline --no-audit --no-fund
bun install v1.3.1 (89fa0f34)
warn: incorrect peer dependency "react-dom@19.2.0"

warn: incorrect peer dependency "react@19.2.0"
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: @epic-web/workshop-utils@file:../../../packages/workshop-utils failed to resolve
error: postinstall script from "epic-workshop" exited with 1

This monorepo is a little unique. The example directory needs to not be a part of the configured workspace as an important constraint (it needs to be its own workspace) and the example/epic-shop directory also needs to be a separate install directory as well.


Note

Switches repository tooling from npm to bun across scripts, build/dev commands, utilities, tests, and docs.

  • Tooling/Scripts:
    • Replace npm/npx with bun/bunx in root package.json scripts (postinstall, prestart, setup, go, start, dev, warm).
    • Update packages/workshop-app/project.json build commands to bun run.
  • CLI/Utils:
    • Adjust packages/workshop-cli/src/commands/start.ts guidance to use bun install -g.
    • Change dependency reinstall in packages/workshop-utils/src/git.server.ts to bun install.
  • Testing:
    • Update playwright.config.ts dev server commands to bunx cross-env ... bun run.
  • Docs:
    • Replace npx/npm run with bunx/bun run in packages/workshop-mcp/README.md and packages/workshop-presence/README.md.

Written by Cursor Bugbot for commit 329a792. This will update automatically on new commits. Configure here.

cursor[bot]

This comment was marked as outdated.

@dylan-conway
Copy link

Looking into this. It seems like it's path handling bug when resolving folder dependencies outside of the workspace root

@kentcdodds
Copy link
Member Author

Happy to help reveal bugs with my weird way of doing things 😆


- name: 🔍 Run ESLint --fix
run: npm run lint -- --fix
run: bun run lint -- --fix
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Bun Commands Fail Due to Node Setup

The format.yml workflow attempts to run Bun commands (bun install, bunx) but still uses actions/setup-node@v4 for environment setup. This means Bun isn't installed, so these commands will likely fail. The npm cache configured is also ineffective for Bun.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants