Skip to content

Missing Dependencies: react-use and appwrite are not listed in package.json #7

@leon-rdo

Description

@leon-rdo

After cloning the repository and installing dependencies with npm install, I was able to start the development server with npm run dev. However, when accessing the application in the browser (http://localhost:5173), errors appeared indicating that the dependencies react-use and appwrite could not be found.

Upon checking package.json and package-lock.json, I noticed that these dependencies are completely missing from the project, meaning they were never installed.

Steps to Reproduce:

  1. Clone the repository:
    git clone <repo-url>
    cd <repo-folder>
  2. Install dependencies:
    npm install
  3. Run the development server:
    npm run dev
  4. Open the browser and navigate to http://localhost:5173
  5. Observe errors related to missing react-use and appwrite.

Expected Behavior:

The project should include all required dependencies in package.json, and the application should work without missing dependency errors.

Suggested Fix:

The missing dependencies should be installed and added to package.json:

npm install react-use appwrite

Then, commit the updated package.json and package-lock.json:

git add package.json package-lock.json
git commit -m "fix: add missing dependencies react-use and appwrite"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions