nit icon indicating copy to clipboard operation
nit copied to clipboard

command nit config -e not opening editor on macbook m1

Open pjwu1997 opened this issue 3 years ago • 0 comments

Description

after installation of nit, run nit config -e after nit init, expecting to open an editor to open config but command just simply ends.

Steps to Reproduce

  1. run npm i
  2. run nit init and successfully create config file
  3. run nit config -e

Expected Behavior

  • Expected: expecting to open an editor to open config
  • Actual: command simply ends

Logs

image

Environment

  • Version: v1.2.0-alpha.5
  • OS: macOS Monterey 12.3.1
  • Device: Macbook air M1

What I've tried

I looked at the doc (https://github.com/yyx990803/launch-editor#readme) and tried to use different settings like await launch(`${configFilepath}`, 'code') and rebuild, but still failed. But I can manually edit the file inside my editor so the main functionality is not afftected.

pjwu1997 avatar Jun 06 '22 13:06 pjwu1997