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

Throws error via CLI #27

Closed
eavichay opened this issue May 24, 2021 · 1 comment
Closed

Throws error via CLI #27

eavichay opened this issue May 24, 2021 · 1 comment

Comments

@eavichay
Copy link

  • npm-name-cli v4.0.1
  • node v12.16.3
  • npm v 6.14.4

Throws error:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: [MY_HOME_FOLDER]/.nvm/versions/node/v12.16.3/lib/node_modules/npm-name-cli/cli.js

@sindresorhus
Copy link
Owner

You have an old version of Node.js 12. You need to upgrade to the latest minor.

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

2 participants