Skip to content

node version #31

Description

@tianyu0919

I’m currently using Node.js 18. When I run the following command:

npx skills add https://github.com/factory-ai/factory-plugins --skill fix-knip-unused-exports

I get this error:

import { styleText } from "node:util";
         ^^^^^^^^^
SyntaxError: The requested module 'node:util' does not provide an export named 'styleText'

It seems that styleText is not available in Node.js 18. Could you please confirm whether this plugin requires a newer Node.js version, or if there is a compatible workaround for Node.js 18?

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