reg-viz / reg-suit

:recycle: Visual Regression Testing tool
https://reg-viz.github.io/reg-suit
MIT License
1.16k stars 101 forks source link

`reg-suit init` fails to create config file #187

Open Christopher-Hayes opened 4 years ago

Christopher-Hayes commented 4 years ago

Description

When I run reg-suit init, the script fails to load the config file "regconfig.json". In fact, the config file isn't even created. The debug logs just show [reg-suit] debug config file: reconfig.json, which I assume means it is supposed to create the reconfig.json file, but that file is never actually created in the CWD.

Steps

Steps to reproduce the behavior:

  1. Run reg-suit init
  2. Hit enter to use the default plugins.
  3. The output will get stuck at ? Working directory of reg-suit. (.reg)

Details

Version: 0.10.0

NPM Version: 6.13.6

Node Version: 13.7.0

Platform: Windows 10

CLI: Git Bash, Powershell, Command Prompt

Christopher-Hayes commented 4 years ago

Even after manually creating a config file based on example projects, the reg-suit init command still hangs on ? Working directory of reg-suit. (.reg)