gemini-testing / gemini

💀💀💀[DEPRECATED] Use hermione
https://github.com/gemini-testing/hermione
MIT License
1.5k stars 149 forks source link

gemini error no config found #938

Open ghost opened 5 years ago

ghost commented 5 years ago

\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

j0tunn commented 5 years ago

@masteryoda2018 Can you provide a little bit more info?

ghost commented 5 years ago

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.

j0tunn commented 5 years ago

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.

ghost commented 5 years ago

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

image

ghost commented 5 years ago

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.

j0tunn commented 5 years ago

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

jasmeettextnow commented 5 years ago

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

masi commented 5 years ago

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