Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks on NodeJS v14+ #13

Open
ghost opened this issue Jun 3, 2021 · 1 comment
Open

Breaks on NodeJS v14+ #13

ghost opened this issue Jun 3, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 3, 2021

var/src/fs via ⬢ v14.16.0 took 1m 0s
➜ lt cli create myproject
Create a new CLI
/home/shor/.config/yarn/global/node_modules/gluegun/build/index.js:13
    throw up;
    ^

TypeError: Cannot read property 'getInput' of undefined
    at /home/shor/.config/yarn/global/node_modules/@lenne.tech/cli/build/commands/cli/create.js:30:35
    at Generator.next (<anonymous>)
    at fulfilled (/home/shor/.config/yarn/global/node_modules/@lenne.tech/cli/build/commands/cli/create.js:5:58)

Using NodeJS v14.16.0 & v16.2.0, lt cli create ${projectName} produces the above error.

Before diving into debugging, is NodeJS beyond v12 intended to be supported?

@kaihaase
Copy link
Member

kaihaase commented Jun 5, 2021

@Meizikyn thank you for your request. Our goal is to support at least the latest LTS of NodeJS. I just tried the lt cli create myproject command and everything seems to work:

lt cli create myproject
Create a new CLI
✔ Enter Author · Kai Haase
✔ Link when finished? (y/N) · false
✔ Repository cloned from https://github.com/lenneTech/cli-starter.git
✔ NPM packages installed
✔ Files & data renamed
✔ Git initialized

Generated myproject server with lenne.Tech CLI 0.0.58 in 0:23m.

My MacBook with M1 running MacOS Big Sur (11.4) is currently running NodeJS version 14.16.1 with npm version 7.16.0 (also tried it successfully with npm version 6.14.11). The lt CLI is running in the current version 0.0.58.

Which lt CLI version are you using?

lt -v
0.0.58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant