Open toddwprice opened 3 years ago
It may be a capitalization issue. Try:
const figlet = require('figlet');
console.log(
chalk.keyword('orange')(
figlet.textSync('scooter-cli', {font: 'Small Slant', horizontalLayout: 'full', verticalLayout: 'controlled smushing'})
) + 'v' + chalk.white.bold(pkg.version) + '\n\n\n'
);
Some OSes seem to not care about capitalization, which could lead to bugs. I'll need to think about how to best fix this type of situation. Thank you for the report.
Just fixed a similar bug with isometric1
on Ubuntu. Capitalising to Isometric1
fixed it.
Running this on Ubuntu:
...results in the following error:
Error: ENOENT: no such file or directory, open '/home/ubuntu/dev/scooter/cli/node_modules/figlet/fonts/small slant.flf'
Not critical but thought I would report it.