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?
I’m currently using Node.js 18. When I run the following command:
I get this error:
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?