# Trouble while setting up the environment

**URL:** <https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260>\
**Category:** Ionic React\
**Created:** [May 5, 2023, 1:25pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260 "2023-05-05T13:25:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![DuckGamesDevs](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DuckGamesDevs](https://forum.ionicframework.com/u/DuckGamesDevs)\
**Post date:** [May 5, 2023, 1:25pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/1 "2023-05-05T13:25:17Z")

</div>

I’m actually having trouble while setting up my work environment on visual studio code.  
My actual problem is related to a folder and a file that cannot be found while running ‘npx cap run android’ no such file or directory, open **‘\android\app\src\main\assets\capacitor.plugins.json’**  
I’m really worried that this will not be the last problem that I will encounter.

---

<div class="post-metadata">

**Author:** ![Hills90210](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hills90210](https://forum.ionicframework.com/u/Hills90210)\
**Post date:** [May 5, 2023, 1:41pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/2 "2023-05-05T13:41:53Z")

</div>

You first start by reading the docs: [Installing Capacitor | Capacitor Documentation](https://capacitorjs.com/docs/getting-started)

---

<div class="post-metadata">

**Author:** ![DuckGamesDevs](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DuckGamesDevs](https://forum.ionicframework.com/u/DuckGamesDevs)\
**Post date:** [May 5, 2023, 1:43pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/3 "2023-05-05T13:43:25Z")

</div>

Already did that. I don’t know what’s wrong in what i did.

---

<div class="post-metadata">

**Author:** ![Hills90210](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@Hills90210](https://forum.ionicframework.com/u/Hills90210)\
**Post date:** [May 5, 2023, 1:44pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/4 "2023-05-05T13:44:28Z")

</div>

Then start from step 1. We aren’t able to help you much either, your error is vaguely general. We can’t guess what you did wrong during installing.

---

<div class="post-metadata">

**Author:** ![DuckGamesDevs](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@DuckGamesDevs](https://forum.ionicframework.com/u/DuckGamesDevs)\
**Post date:** [May 5, 2023, 2:06pm UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/5 "2023-05-05T14:06:55Z")

</div>

Okay, I figured out that I was doing some steps that i had already done because I first created the app from ‘Appflow Dashboard’ and then i cloned the repo in a local folder.  
I guess that I don’t need ’ [Installing Capacitor](https://capacitorjs.com/docs/getting-started)’ right?

---

<div class="post-metadata">

**Author:** ![rbalet](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rbalet/32/132910_2.png) [@rbalet](https://forum.ionicframework.com/u/rbalet)\
**Post date:** [August 8, 2025, 8:52am UTC](https://forum.ionicframework.com/t/trouble-while-setting-up-the-environment/233260/6 "2025-08-08T08:52:11Z")

</div>

@Hills90210 Actually **app/src/main/assets/capacitor.plugins.json** can be found inside the `.gitignore` file.

Running `npx cap sync` is trying to find that file, which isn’t saved.  
Therefore, this is indeed a bug, and :

@DuckGamesDevs To fix this problem, create an empty file under `/android/app/src/main/assets/capacitor.plugins.json` . (If the `assets` folder doesn’t neither, create it also.
