Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\Kolya\AndroidStudioProjects\other Projects\DeepFondation\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist.
@deep-foundation/sdk@0.0.0-dev.5 open-android
npx cap open android
[info] Opening Android project at: android.
[?] Would you like to help improve Capacitor by sharing anonymous usage data? 💖
Read more about what is being collected and why here: https://capacitorjs.com/telemetry. You can change your mind at
any time by using the npx cap telemetry command.
? Share anonymous usage data? "(Y/n)
13)npm run start
The project opened, but with an error:
Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\Kolya\AndroidStudioProjects\other Projects\DeepFondation\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist.
Workaround
1) command:
npm ci; (cd electron; npm ci)
you need to enter without parentheses, that is:
npm ci; cd electron; npm ci
Bug description
Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\Kolya\AndroidStudioProjects\other Projects\DeepFondation\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist.
Expected Behavior
launch of the project
Current Behavior
an error occurred due to a missing file
Steps to reproduce
1) created a project via: https://github.com/deep-foundation/sdk.git
2) cleared the "pages/index.tsx" file
3)git remote add sdk https://github.com/deep-foundation/sdk.git
4)git fetch sdk
5)git merge sdk/main --allow-unrelated-histories --strategy ours
6)git fetch sdk main
7)git merge sdk/some_old_commit_hash --allow-unrelated-histories --strategy ours
8)git merge sdk/main
9) installed node version 20
10) npm ci; cd electron; npm ci After entering the command An error appeared in the terminal indicating that the version must be at least 18
10) reinstalled the node to version 18
11) npm ci; cd electron; npm ci no error occurred
12) npm run build answer :
PS C:\Users\Kolya\AndroidStudioProjects\other Projects\DeepFondation> npm run build-android
⚠ Invalid next.config.js options detected: ⚠ Unrecognized key(s) in object: 'strictMode' ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config ▲ Next.js 14.2.2
✓ Linting and checking validity of types Creating an optimized production build ... ⚠ Compiled with warnings
./node_modules/@deep-foundation/deeplinks/imports/client.js Critical dependency: the request of a dependency is an expression
Import trace for requested module: ./node_modules/@deep-foundation/deeplinks/imports/client.js
✓ Collecting page data
See https://nextjs.org/docs/messages/page-without-valid-component for more info.
13)npm run start The project opened, but with an error:
Caused by: org.gradle.api.resources.MissingResourceException: Could not read script 'C:\Users\Kolya\AndroidStudioProjects\other Projects\DeepFondation\android\capacitor-cordova-android-plugins\cordova.variables.gradle' as it does not exist.
Workaround
1) command: npm ci; (cd electron; npm ci) you need to enter without parentheses, that is: npm ci; cd electron; npm ci
Environment