Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error run pnpm dlx srcbook@latest start " #482

Open
ppnine1234 opened this issue Jan 21, 2025 · 1 comment
Open

"Error run pnpm dlx srcbook@latest start " #482

ppnine1234 opened this issue Jan 21, 2025 · 1 comment

Comments

@ppnine1234
Copy link

pnpm dlx srcbook@latest start
Srcbook
Serving static files (React app)...
Creating WebSocket server...
Initialization complete
[email protected] running at http://localhost:2150
file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:4462
return { error: new GitError(void 0, error.toString("utf-8")) };
^

GitError: HEAD
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'

at Object.action (file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:4462:25)
at PluginStore.exec (file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:4501:25)
at file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:1369:43
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:1367:16)
at GitExecutorChain.<anonymous> (file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:1351:44)
at Generator.next (<anonymous>)
at fulfilled (file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/[email protected]/node_modules/simple-git/dist/esm/index.js:45:24)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {

task: {
commands: [ 'rev-parse', 'HEAD' ],
format: 'utf-8',
parser: [Function: parser]
}
}

Node.js v22.13.0

OS WSL Ubuntu Last version

@carlosvfa
Copy link

also having this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants