Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

gemini error no config found #938

Open
ghost opened this issue Nov 2, 2018 · 8 comments
Open

gemini error no config found #938

ghost opened this issue Nov 2, 2018 · 8 comments

Comments

@ghost
Copy link

ghost commented Nov 2, 2018

\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
Copy link
Contributor

j0tunn commented Nov 5, 2018

@masteryoda2018 Can you provide a little bit more info?

  • your config
  • file tree
  • gemini version

@ghost
Copy link
Author

ghost commented Nov 5, 2018

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
Copy link
Contributor

j0tunn commented Nov 6, 2018

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
Copy link
Author

ghost commented Nov 6, 2018

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

image

@ghost
Copy link
Author

ghost commented Nov 6, 2018

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
Copy link
Contributor

j0tunn commented Nov 7, 2018

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

@jasmeettextnow
Copy link

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

@masi
Copy link

masi commented Mar 29, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants