Skip to content

Error package serpapi does not exist #24

@hilmanski

Description

@hilmanski

I tried to clone this repo and run the demo

git clone https://github.com/serpapi/google_search_results_java.git
cd google_search_results_java/demo
make run api_key=<your private key>

Upon running the make run, It shows

/bin/sh: ./gradlew: No such file or directory

So I run

gradle wrapper
chmod +x gradlew

Then try to run the program either with

make run api_key=...
// or
gradle guild

It shows this error
CleanShot 2023-12-06 at 16 14 45@2x

A similar thing happened when I tried to install/run the project with gradle from scratch.

Computer Info:
Mac OS Sonoma 14.0

openjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
OpenJDK 64-Bit Server VM (build 11.0.12+0-b1504.28-7817840, mixed mode)

gradle --version


Gradle 6.7

Build time: 2020-10-14 16:13:12 UTC
Revision: 312ba9e0f4f8a02d01854d1ed743b79ed996dfd3

Kotlin: 1.3.72
Groovy: 2.5.12
Ant: Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM: 11.0.12 (JetBrains s.r.o. 11.0.12+0-b1504.28-7817840)
OS: Mac OS X 14.0 aarch64

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