Describe the bug
the CLI fails on yarn create ts-api
To Reproduce
Steps to reproduce the behavior:
Open terminal
type yarn create ts-api
Expected behavior*
should create a TypeScript Boilerplate template.
Desktop (please complete the following information):
OS: Ubuntu v20+
Node Version: [v16.2.0]
NPM version: [v7.13.0]
Additional context
Error:
const chalk = require('chalk');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /node_modules/chalk/source/index.js from /.config/yarn/global/node_modules/create-ts-api/src/index.js not supported.
Initially remembering the templates flag is quite overwhelming.
So, getting a Inquirer type structure would help the end user to know better about the template there selecting!
That also happens when installing that package globally,
I'm not familiar with NPX packages innerworks, but it seems it is not getting the templates directory automatically.
Manually adding this repo packages/template to my npx dir solves the problem.
THIS PACKAGE WAS UNPUBLISHED AS I WAS EXPERIMENTING WITH SOME STUFF, NOW I CAN'T RE PUBLISH IT FOR THE NEXT 24 HOURS . PLEASE STAY PUT. SORRY FOR ANY INCONVENIENCE
THIS PACKAGE WAS UNPUBLISHED AS I WAS EXPERIMENTING WITH SOME STUFF, NOW I CAN'T RE PUBLISH IT FOR THE NEXT 24 HOURS . PLEASE STAY PUT. SORRY FOR ANY INCONVENIENCE