Skip to content

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

Description

@pjwu1997

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions