gemini icon indicating copy to clipboard operation
gemini copied to clipboard

gemini error no config found

Open ghost opened this issue 7 years ago • 8 comments

\Roaming\npm\node_modules\gemini\lib\config\config-reader.js:23 throw new GeminiError('No config found'); ^

GeminiError: No config found at getDefaultConfig (C:\Users\\Roaming\npm\node_modules\gemini\lib\config\config-reader.js:23:15) at Object.exports.read (C:\Users\\Roaming\npm\node_modules\gemini\lib\config\config-reader.js:10:28) at readConfig (C:\Users\\Roaming\npm\node_modules\gemini\lib\config\index.js:61:31) at new Config (C:\Users\\Roaming\npm\node_modules\gemini\lib\config\index.js:28:18) at new Gemini (C:\Users\\Roaming\npm\node_modules\gemini\lib\gemini.js:43:23) at mkGemini (C:\Users\\Roaming\npm\node_modules\gemini\lib\cli\index.js:96:20) at Object.exports.run (C:\Users\\Roaming\npm\node_modules\gemini\lib\cli\index.js:23:20) at Object. (C:\Users\\Roaming\npm\node_modules\gemini\bin\gemini:33:25) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32) at tryModuleLoad (module.js:505:12) at Function.Module._load (module.js:497:3) at Function.Module.runMain (module.js:693:10) at startup (bootstrap_node.js:188:16) at bootstrap_node.js:609:3

ghost avatar Nov 02 '18 21:11 ghost

@masteryoda2018 Can you provide a little bit more info?

  • your config
  • file tree
  • gemini version

j0tunn avatar Nov 05 '18 10:11 j0tunn

gemini version = 5.9.1 file tree = I am not sure what this means ??? config = I don't have any config file listed under the gemini folder. The config file does NOT exists.

ghost avatar Nov 05 '18 15:11 ghost

config = I don't have any config file listed under the gemini folder. The config file does NOT exists.

But this is exactly what gemini tolds you. There should be config file in the project directory.

j0tunn avatar Nov 06 '18 07:11 j0tunn

When I run the command, gemini test, I am getting this error message,

image

ghost avatar Nov 06 '18 14:11 ghost

Is there a troubleshooting guide I can follow? Instructions on how to configure gemini visual regression step by step.?

Thanks, Any help is greatly appreciated.

ghost avatar Nov 06 '18 19:11 ghost

What about README: https://github.com/gemini-testing/gemini#configuring ?

j0tunn avatar Nov 07 '18 07:11 j0tunn

@masteryoda2018 Is this still an issue. Else please close this issue helps keep the list of issues updated.

jasmeettextnow avatar Nov 28 '18 18:11 jasmeettextnow

config = I don't have any config file listed under the gemini folder. The config file does NOT exists.

But this is exactly what gemini tolds you. There should be config file in the project directory.

Sure, but printing the exception makes it looks like a software error. Instead a nice message like "Gemini could not found a configuration file in the current directory." would be much more helpful. It could even list all the names it is looking for.

Masi

masi avatar Mar 29 '19 10:03 masi