keybase / keybase/client

node_modules folder does not exist under shared directory

Open
#24,758 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Hi,

I am trying build keybase for android in windows 10.
I clone the client repo and open the project in client-master\shared\android

when loading the project, it report error:

- Settings file 'client-master\shared\android\settings.gradle' line: 2
- A problem occurred evaluating settings 'Keybase'.
- Could not read script 'client-master\shared\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' as it does not exist.

But there is no node_modules folder under shared directory.

I don't know why.

Here is the content of settings.gradle

rootProject.name = 'Keybase'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
apply from: '../node_modules/react-native-unimodules/gradle.groovy'
includeUnimodulesProjects()
include ':app', ':keybaselib'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with shared/android/settings.gradle and inspect how the Android project expects shared/node_modules and the referenced React Native Gradle scripts to be provided. Confirm the dependency setup needed for a cloned repository, then verify that the Android project loads without the missing-script error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.