Skip to content

ERROR on first run npx t3 #868

Closed
Closed

Description

@seeb1337

npx t3
Need to install the following packages:
t3@0.0.1
Ok to proceed? (y) y

npm warn deprecated rimraf@2.2.8: Rimraf versions prior to v4 are no longer supported
npm warn deprecated forEachAsync@2.2.1: Please use 'foreachasync' instead. See https://www.npmjs.com/package/foreachasync
npm warn deprecated mkdirp@0.3.5: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm warn deprecated coffee-script@1.6.3: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
/home/koxpvp/.npm/_npx/5ca66e5ae19a7ff4/node_modules/t3/bin/t3:23
command(args);
^

TypeError: command is not a function
at Object. (/home/koxpvp/.npm/_npx/5ca66e5ae19a7ff4/node_modules/t3/bin/t3:23:9)
at Module._compile (node:internal/modules/cjs/loader:1529:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
at Module.load (node:internal/modules/cjs/loader:1275:32)
at Module._load (node:internal/modules/cjs/loader:1096:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:164:12)
at node:internal/main/run_main_module:28:49

Node.js v20.19.2

Activity

  1. laxman-patel commented on Mar 11, 2026

    @laxman-patel

    okay, I was able to recreate this issue by downgrading my node version to v20.19.2. So, updating your node version to latest should fix this.

  2. varnaidavid commented on Mar 11, 2026

    @varnaidavid

    had the same error on v24.1.0, installed lts v24.14.0 and worked.

  3. seeb1337 commented on Mar 12, 2026

    @seeb1337
    ContributorAuthor

    Thanks! It works

    had the same error on v24.1.0, installed lts v24.14.0 and worked.

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