You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run npx remix or npx exec remix on a fresh install with no arguments. Pretty clear that it's trying to call startsWith on an undefined object. No reproduction steps needed.
TypeError: Cannot read properties of undefined (reading 'startsWith')
at Object.run (/Users/khallmark/Desktop/Code/taskifier/node_modules/@remix-run/dev/dist/cli/run.js:171:17)
at Object.<anonymous> (/Users/khallmark/Desktop/Code/taskifier/node_modules/@remix-run/dev/dist/cli.js:16:11)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Object..js (node:internal/modules/cjs/loader:1689:10)
at Module.load (node:internal/modules/cjs/loader:1318:32)
at Function._load (node:internal/modules/cjs/loader:1128:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
at node:internal/main/run_main_module:36:49
Reproduction
run
npx remix
ornpx exec remix
on a fresh install with no arguments. Pretty clear that it's trying to callstartsWith
on an undefined object. No reproduction steps needed.System Info
Used Package Manager
npm
Expected Behavior
No crash when argv[0] is not sent. Shows help.
Actual Behavior
Crashes when no argv[0] sent
The text was updated successfully, but these errors were encountered: