antfu-collective / ni

💡 Use the right package manager
MIT License
6.25k stars 208 forks source link

chore: Use `tsx` directly instead of via `esno` #213

Closed Wxh16144 closed 2 months ago

Wxh16144 commented 2 months ago

Description

This fixes compatibility problems with later version of node v18.

See here for more details: https://github.com/privatenumber/tsx/issues/421

Linked Issues

image

Additional context

Wxh16144 commented 2 months ago

Another solution is to upgrade esno to 4.7.0, but esno has already become an alias for tsx, I think it can be directly replaced.