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

An error is reported when you open Apps #456

Open
D6397 opened this issue Dec 2, 2024 · 4 comments
Open

An error is reported when you open Apps #456

D6397 opened this issue Dec 2, 2024 · 4 comments

Comments

@D6397
Copy link

D6397 commented Dec 2, 2024

An error is reported when you open Apps

srcbook@0.0.15 running at http://localhost:2150
file:///root/.npm/_npx/f3cf20110f0917c8/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:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:4462:25)
at PluginStore.exec (file:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:4501:25)
at file:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:1369:43
at new Promise (<anonymous>)
at GitExecutorChain.handleTaskData (file:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:1367:16)
at GitExecutorChain.<anonymous> (file:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:1351:44)
at Generator.next (<anonymous>)
at fulfilled (file:///root/.npm/_npx/f3cf20110f0917c8/node_modules/simple-git/dist/esm/index.js:45:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

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

Node.js v20.16.0

image

@D6397 D6397 changed the title An error is reported when you open Apps An error is reported when you open Apps #297 Dec 2, 2024
@D6397 D6397 changed the title An error is reported when you open Apps #297 An error is reported when you open Apps Dec 2, 2024
@glassBead-tc
Copy link

@D6397 are you running on Windows?

@D6397
Copy link
Author

D6397 commented Dec 4, 2024

6666
Run Visual Studio Code on Windows to access the ubantu server running

@D6397
Copy link
Author

D6397 commented Dec 4, 2024

The launch command is launched in a terminal on Visual Studio

@D6397
Copy link
Author

D6397 commented Dec 4, 2024

9999
The same is true for the installation of the ubantu system in the container

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