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
cat<<-DONE>throw.jsconsole.log('running...')throw new Error('Error thrown from line 2')DONEvinxi run -- throw.js
running...
ERROR Error thrown from line 2 7:30:45 AM
at eval (throw.js:4:7)
at ESModulesRunner.runViteModule (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:1045:6)
at ViteRuntime.directRequest (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:1018:78)
at ViteRuntime.cachedRequest (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:937:28)
at ViteRuntime.executeEntrypoint (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:873:23)
at Object.run (/home/james/.local/share/pnpm/global/5/.pnpm/vinxi@0.4.3_@types+node@22.4.1_ioredis@5.4.1_terser@5.31.6/node_modules/vinxi/bin/cli.mjs:460:25)
at runCommand (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:316:16)
at runCommand (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:307:11)
at runMain (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:445:7)
Stack trace reports the error was thrown from line 4 character 7. Shouldn't this state line 2 character 1?
Other attempts with same results:
NODE_OPTIONS=--enable-source-maps vinxi run -- throw.js
The text was updated successfully, but these errors were encountered:
running... ERROR Error thrown from line 2 7:30:45 AM at eval (throw.js:4:7) at ESModulesRunner.runViteModule (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:1045:6) at ViteRuntime.directRequest (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:1018:78) at ViteRuntime.cachedRequest (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:937:28) at ViteRuntime.executeEntrypoint (/home/james/.local/share/pnpm/global/5/.pnpm/vite@5.4.1_@types+node@22.4.1_terser@5.31.6/node_modules/vite/dist/node/runtime.js:873:23) at Object.run (/home/james/.local/share/pnpm/global/5/.pnpm/vinxi@0.4.3_@types+node@22.4.1_ioredis@5.4.1_terser@5.31.6/node_modules/vinxi/bin/cli.mjs:460:25) at runCommand (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:316:16) at runCommand (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:307:11) at runMain (/home/james/.local/share/pnpm/global/5/.pnpm/citty@0.1.6/node_modules/citty/dist/index.mjs:445:7)
Stack trace reports the error was thrown from line 4 character 7. Shouldn't this state line 2 character 1?
Other attempts with same results:
The text was updated successfully, but these errors were encountered: