question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Syntax error: word unexpected (expecting "in") when i run ./android/scripts/release-sdk.sh /tmp/repo

See original GitHub issue
martin@ONE:/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet$ ./android/scripts/release-sdk.sh /tmp/repo
Releasing Jitsi Meet SDK 4.1.0
Using file:/tmp/repo as the Maven repo
Pushing React Native 0.63.4 to the Maven repo
/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet/node_modules/react-native/android/com/facebook/react/react-native/0.63.4 /mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ standalone-pom ---
Uploading to remote-repository: file:/tmp/repo/com/facebook/react/react-native/0.63.4/react-native-0.63.4.aar
Uploaded to remote-repository: file:/tmp/repo/com/facebook/react/react-native/0.63.4/react-native-0.63.4.aar (9.6 MB at 26 MB/s)
Uploading to remote-repository: file:/tmp/repo/com/facebook/react/react-native/0.63.4/react-native-0.63.4.pom
Uploaded to remote-repository: file:/tmp/repo/com/facebook/react/react-native/0.63.4/react-native-0.63.4.pom (3.6 kB at 402 kB/s)
Downloading from remote-repository: file:/tmp/repo/com/facebook/react/react-native/maven-metadata.xml
Downloaded from remote-repository: file:/tmp/repo/com/facebook/react/react-native/maven-metadata.xml (352 B at 4.1 kB/s)
Uploading to remote-repository: file:/tmp/repo/com/facebook/react/react-native/maven-metadata.xml
Uploaded to remote-repository: file:/tmp/repo/com/facebook/react/react-native/maven-metadata.xml (352 B at 11 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.623 s
[INFO] Finished at: 2022-01-13T19:31:35+03:00
[INFO] ------------------------------------------------------------------------
/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet
Pushing JSC r245459 to the Maven repo
/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet/node_modules/jsc-android/dist/org/webkit/android-jsc/r245459 /mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ standalone-pom ---
Uploading to remote-repository: file:/tmp/repo/org/webkit/android-jsc/r245459/android-jsc-r245459.aar
Uploaded to remote-repository: file:/tmp/repo/org/webkit/android-jsc/r245459/android-jsc-r245459.aar (13 MB at 42 MB/s)
Uploading to remote-repository: file:/tmp/repo/org/webkit/android-jsc/r245459/android-jsc-r245459.pom
Uploaded to remote-repository: file:/tmp/repo/org/webkit/android-jsc/r245459/android-jsc-r245459.pom (452 B at 41 kB/s)
Downloading from remote-repository: file:/tmp/repo/org/webkit/android-jsc/maven-metadata.xml
Downloaded from remote-repository: file:/tmp/repo/org/webkit/android-jsc/maven-metadata.xml (305 B at 8.5 kB/s)
Uploading to remote-repository: file:/tmp/repo/org/webkit/android-jsc/maven-metadata.xml
Uploaded to remote-repository: file:/tmp/repo/org/webkit/android-jsc/maven-metadata.xml (305 B at 19 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.050 s
[INFO] Finished at: 2022-01-13T19:31:38+03:00
[INFO] ------------------------------------------------------------------------
/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet
Building and publishing the Jitsi Meet SDK
/mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet/android /mnt/c/Users/123/Desktop/Jitsi/master/jitsi-meet
: not found2:
: not found18:
: not found24:
./gradlew: 68: Syntax error: word unexpected (expecting "in")

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Jan 17, 2022

Not yet.

1reaction
saghulcommented, Jan 15, 2022

I’ll take a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax error: word unexpected (expecting ")") - Stack Overflow
In that case, when the system fails to recognise it as a native executable, the invoking application would try to run sh on...
Read more >
how to fix Syntax error: word unexpected (expecting - YouTube
Essentially it tells your terminal that when you run the script it should use bash to execute it. Is #!/ bin sh necessary?...
Read more >
8: Syntax error: word unexpected (expecting ")") - Server Fault
leads to the error: 8: Syntax error: word unexpected (expecting ")"). when executing with: /bin/sh script.sh. What is wrong here and how can ......
Read more >
"Syntax error, word unexpected (expecting ")")"
Symptom¶ A cross-compilation build from sources runs into the problem of internal tools like squishidl or conf failing with an "Syntax ...
Read more >
14.04 - running simple bash script fails with Syntax error: word ...
The problem is with the script: though it claims in its own documentation that it can be run by sh , i.e. by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found