> npx style-dictionary init basic
Copying starter files...
some_repo/node_modules/style-dictionary/bin/style-dictionary.js:91
node_fs.copySync(path.join(__dirname, '..', 'examples', type), process.cwd());
TypeError: node_fs.copySync is not a function
copySync is an fs-extra only function. Also the docs say that style-dictionary init basic should work, but that example folder does not exist in v4.
From the docs: creating a new project in v4:
copySync is an
fs-extra
only function. Also the docs say thatstyle-dictionary init basic
should work, but that example folder does not exist in v4.