1

I 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.

enter image description here

Luka Kerr
  • 4,161
  • 7
  • 39
  • 50
Osama Saeed
  • 149
  • 8

1 Answers1

0

You just need to set the appropriate environment variable:

  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 civicrm.stackexchange.

Armfoot
  • 4,663
  • 5
  • 45
  • 60