Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command nit config -e not opening editor on macbook m1 #6

Open
pjwu1997 opened this issue Jun 6, 2022 · 0 comments
Open

command nit config -e not opening editor on macbook m1 #6

pjwu1997 opened this issue Jun 6, 2022 · 0 comments

Comments

@pjwu1997
Copy link

pjwu1997 commented Jun 6, 2022

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.

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

No branches or pull requests

1 participant