Answers.Body: <p>You just need to <a href="https://superuser.com/a/1218436/445903"><strong>set</strong> the appropriate environment variable</a>:</p>
  
  <ol>
  <li>close your current cmd shell/terminal;</li>
  <li>press <kbd>Win</kbd> + <kbd>R</kbd>, type <code>setx CV_CONFIG "%userprofile%\.cv.json"</code> and press <kbd>Enter</kbd>;</li>
  <li>reopen the shell, goto your project's directory and test with <code>civix civicrm:ping -vvv</code>.</li>
  </ol>
  
  <p>I gave further explanations about the reason in <a href="https://civicrm.stackexchange.com/a/18988/4741">this answer</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-12T12:09:00.323Z
Answers.LastActivityDate: 2017-06-12T12:09:00.323Z
Answers.UserDisplayName: Armfoot
Answers.Body: <p>Had the same issue,
  realized the module was actually created but with incomplete information in the "info.xml" file in the module.<br>
  Updated the content of the file and activated the extension from <code>Administer --&gt; system settings --&gt; extension</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-29T17:37:04.343Z
Answers.LastActivityDate: 2017-01-29T17:37:04.343Z
Answers.UserDisplayName: Adibas03
Body: <p>lteI have installed a civicrm buildkit with vagrantbox and vagrant up correctly on windows, ubuntu server run and at d7-master.dev I am listening drupal civicrm all done ok.</p>
  
  <p>as I try to generate module using civix extension builder such as:</p>
  
  <p>in cmd:</p>
  
  <pre><code>civix generate:module org.civicrm.angularex 
  </code></pre>
  
  <p>I got this error: [RuntimeException] Failed to determine INI file path.</p>
  
  <p>I tried everything what I knew and what see by google nothing happens.such as :</p>
  
  <pre><code>php --ini
  </code></pre>
  
  <p>works but not resolve this error.</p>
  
  <p>Please Help me.
  <a href="https://i.sstatic.net/7cc65.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7cc65.jpg" alt="enter image description here"></a></p>
  
Tags: <drupal><civicrm-buildkit><civix>
Title: civix generate:module org.civicrm.angularex error
ThreadText: # civix generate:module org.civicrm.angularex error
  
  (Asked by: username_0 on 2016-10-13)
  
  lteI have installed a civicrm buildkit with vagrantbox and vagrant up correctly on windows, ubuntu server run and at d7-master.dev I am listening drupal civicrm all done ok.
  
  as I try to generate module using civix extension builder such as:
  
  in cmd:
  
  ```
  civix generate:module org.civicrm.angularex 
  
  ```
  
  I got this error: [RuntimeException] Failed to determine INI file path.
  
  I tried everything what I knew and what see by google nothing happens.such as :
  
  ```
  php --ini
  
  ```
  
  works but not resolve this error.
  
  Please Help me.
  [![enter image description here](https://i.sstatic.net/7cc65.jpg)](https://i.sstatic.net/7cc65.jpg)
  
  **Tags:** drupal, civicrm-buildkit, civix
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-06-12. Score: 1
  
  You just need to [**set** the appropriate environment variable](https://superuser.com/a/1218436/445903):
  
  1. close your current cmd shell/terminal;
  2. press `Win` + `R`, type `setx CV_CONFIG "%userprofile%\.cv.json"` and press `Enter`;
  3. reopen the shell, goto your project's directory and test with `civix civicrm:ping -vvv`.
  
  I gave further explanations about the reason in [this answer](https://civicrm.stackexchange.com/a/18988/4741).
  
  
  ---
  
  ### Answer by username_2 on 2017-01-29. Score: 0
  
  Had the same issue,
  realized the module was actually created but with incomplete information in the "info.xml" file in the module.  
  Updated the content of the file and activated the extension from `Administer --> system settings --> extension`
  
  
  ---
  
  