Skip to content

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

@ppnine1234

Description

@ppnine1234

pnpm dlx srcbook@latest start
Srcbook
Serving static files (React app)...
Creating WebSocket server...
Initialization complete
srcbook@0.0.18 running at http://localhost:2150
file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/simple-git@3.27.0/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/simple-git@3.27.0/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/simple-git@3.27.0/node_modules/simple-git/dist/esm/index.js:4501:25)
at file:///home/sukrit/.cache/pnpm/dlx/czjsqsbhs7jgdsolov4lz3dlrm/1948819a0e3-f6e/node_modules/.pnpm/simple-git@3.27.0/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/simple-git@3.27.0/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/simple-git@3.27.0/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/simple-git@3.27.0/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

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