Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Listing bun as dependency #42

Description

@ndivinity

There is not a trivial way of counterparting Bun runtime commands to Node/npm only commands.

References:

  • bun install
    • npm install --force could run, cannot measure how effective it is.
    • npm install by itself fails.
  • bun run server.ts
    * npx tsx server.ts could be a replacement, though fails with ReferenceError: Bun is not defined. Websocket server hardly depends on Bun's runtime.
    * The usage of npx tsx could be done with npm install -g tsx but installs "tsx" globally.

Setup details

  • Tried under Debian Linux 12 with kernel 6.1.0-41-amd64.
  • Node/npm installed manually through the official website to /opt/nodejs.

Edit: Stripped off "adding Node/npm equivalents of bun commands" from the issue title, since bun is a deeper dependency than just adding command counterparts.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions