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 when launching gradlew.bat #22

Open
nellvis opened this issue Jun 28, 2024 · 3 comments
Open

error when launching gradlew.bat #22

nellvis opened this issue Jun 28, 2024 · 3 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@nellvis
Copy link

nellvis commented Jun 28, 2024

Environment info

1.21
Fabric API
Java 8, JDK 22
Git

Description

when I launch gradlew.bat to enter the lines that you gave in "how to build extra sound", but I have an error, and writes that the directory was not found.git, although I installed it

Step-by-step reproduction instructions

  1. open gradlew.bat with installed java 8, JDK 22, Git
  2. error

Is this related to other mods or libraries?

No response

Screenshots, latest.log, code snippet

No response

@nellvis nellvis added the bug Something isn't working label Jun 28, 2024
@lonefelidae16
Copy link
Owner

How did you get the source? Installing Git and using Git commands is required for builds.

I guess following line can resolve:

git clone --recursive https://github.com/lonefelidae16/extra-sounds

@nellvis
Copy link
Author

nellvis commented Jun 29, 2024

How did you get the source? Installing Git and using Git commands is required for builds.

I guess following line can resolve:

git clone --recursive https://github.com/lonefelidae16/extra-sounds

and where are all these lines of code to enter? in what program? I don't understand anything((

PS C:\Users\danii\omg\extra-sounds> git checkout stable/1.21-build.1
error: pathspec 'stable/1.21-build.1' did not match any file(s) known to git

@lonefelidae16
Copy link
Owner

PS C:\Users\danii\omg\extra-sounds> git checkout stable/1.21-build.1 error: pathspec 'stable/1.21-build.1' did not match any file(s) known to git

Hmm...? The tag stable/1.21-build.1 you specified doesn’t exist (I don’t publish such a tag name).

You can check Tags on GitHub Tags, or can enter the command:

git tag -l

Since v3, tag prefix was changed. You will get the following result:

1.0.0
1.1.0
1.x

...snip...

stable/1.19.x
...
stable/1.20.x

...snip...

v3/1.21-build.2
v3/1.21-build.3
v3/1.21-build.4

The latest v3 is v3/1.21-build.4. Try check it out.

Otherwise, if you don’t care about tags and want to get the latest code, you can execute following command:

git checkout origin/dev

@lonefelidae16 lonefelidae16 added the documentation Improvements or additions to documentation label Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants