t3code icon indicating copy to clipboard operation
t3code copied to clipboard

`npx t3` does not work on Windows

Open vrajpat3ll opened this issue 8 months ago • 2 comments

vrajpat3ll@orion projects> npx t3
Need to install the following packages:
[email protected]
Ok to proceed? (y)

npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Please use 'foreachasync' instead. See https://www.npmjs.com/package/foreachasync
npm warn deprecated [email protected]: 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 [email protected]: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
C:\Users\vrajp\AppData\Local\npm-cache\_npx\5ca66e5ae19a7ff4\node_modules\t3\bin\t3:23
        command(args);
        ^

TypeError: command is not a function
    at Object.<anonymous> (C:\Users\vrajp\AppData\Local\npm-cache\_npx\5ca66e5ae19a7ff4\node_modules\t3\bin\t3:23:9)
    at Module._compile (node:internal/modules/cjs/loader:1738:14)
    at Object..js (node:internal/modules/cjs/loader:1871:10)
    at Module.load (node:internal/modules/cjs/loader:1470:32)
    at Module._load (node:internal/modules/cjs/loader:1290:12)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:238:24)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47

Node.js v24.7.0

vrajpat3ll avatar Mar 07 '26 17:03 vrajpat3ll

Hello mate, I believe you need to write the comand like this: npx t3@alpha.

You can watch more installation help here: https://youtu.be/hDn8-fK3XaU?si=GMlY4viFPP7inj8M&t=212

Please let me know if this works for you.

mosespace avatar Mar 07 '26 17:03 mosespace

Hi mate!

I tried running npx t3@alpha and it works.

Thanks a lot!

vrajpat3ll avatar Mar 07 '26 17:03 vrajpat3ll