diff --git a/.sage/main.go b/.sage/main.go index 19a4c53..1ca5405 100644 --- a/.sage/main.go +++ b/.sage/main.go @@ -103,10 +103,7 @@ func GenerateApiDoc(ctx context.Context) error { } func installRapiPdfCli(ctx context.Context) error { - if err := sg.Command(ctx, "yarn", "global", "add", "node-gyp").Run(); err != nil { - return err - } - cmd := sg.Command(ctx, "yarn", "global", "add", "@kingjan1999/rapipdf-cli") + cmd := sg.Command(ctx, "npm", "--global", "install", "@kingjan1999/rapipdf-cli") return cmd.Run() }