When attempting to run config-inspector with Node.js 23.0.0, it fails with a TypeError related to the fs.scandir module. The error appears to be caused by an attempt to set the path property on a Dirent object, which only has a getter.
/home/demonicattack/.cache/pnpm/dlx/wctbkpzalb6eryu2az5puesrkq/192a624b7e4-2d5cc/node_modules/.pnpm/@nodelib+fs.scandir@3.0.0/node_modules/@nodelib/fs.scandir/out/utils/fs.js:27
DirentFromStats.prototype[name] = function () {
^
TypeError: Cannot set property path of # which has only a getter
at Object. (/home/demonicattack/.cache/pnpm/dlx/wctbkpzalb6eryu2az5puesrkq/192a624b7e4-2d5cc/node_modules/.pnpm/@nodelib+fs.scandir@3.0.0/node_modules/@nodelib/fs.scandir/out/utils/fs.js:27:37)
...
Node.js v23.0.0
When attempting to run config-inspector with Node.js 23.0.0, it fails with a TypeError related to the fs.scandir module. The error appears to be caused by an attempt to set the path property on a Dirent object, which only has a getter.
/home/demonicattack/.cache/pnpm/dlx/wctbkpzalb6eryu2az5puesrkq/192a624b7e4-2d5cc/node_modules/.pnpm/@nodelib+fs.scandir@3.0.0/node_modules/@nodelib/fs.scandir/out/utils/fs.js:27 DirentFromStats.prototype[name] = function () { ^
TypeError: Cannot set property path of # which has only a getter
at Object. (/home/demonicattack/.cache/pnpm/dlx/wctbkpzalb6eryu2az5puesrkq/192a624b7e4-2d5cc/node_modules/.pnpm/@nodelib+fs.scandir@3.0.0/node_modules/@nodelib/fs.scandir/out/utils/fs.js:27:37)
...
Node.js v23.0.0