kataras / iris-cli

[WIP] Iris Command Line Interface
https://iris-go.com
MIT License
124 stars 11 forks source link

iris-cli run react-typescript requires npm [BUG] #14

Closed tautastic closed 1 year ago

tautastic commented 1 year ago

Describe the bug The command iris-cli run react-typescript requires npm to be installed. I have nodejs@18.12.1 and pnpm@7.25.0 installed, I don't see why the CLI can't use whatever node package manger is installed.

To Reproduce Steps to reproduce the behavior:

  1. Have nodejs but not npm installed on your system.
  2. Run iris-cli run react-typescript

Expected behavior I would either expect iris-cli to auto recognize any node package manger available on my system or have me set my prefered node package manger in .iris.yml

Screenshots Screenshot from 2023-01-14 17-47-12

Desktop (please complete the following information):

Additional context I'm not familiar with iris or iris-cli but I will try to implement a solution if I can.