Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

direflow-create doesn't work #300

Open
mayank893arora opened this issue Aug 24, 2023 · 5 comments
Open

direflow-create doesn't work #300

mayank893arora opened this issue Aug 24, 2023 · 5 comments
Labels
Bug Something isn't working

Comments

@mayank893arora
Copy link

Describe the bug
I am getting below error while running command direflow-create

Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/local/lib/node_modules/direflow-cli/node_modules/boxen/index.js not supported.
Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules.
at Object. (/usr/local/lib/node_modules/direflow-cli/dist/messages.js:8:31)
at Generator.next ()
at Object. (/usr/local/lib/node_modules/direflow-cli/dist/create.js:50:18)
at Generator.next ()
at Object. (/usr/local/lib/node_modules/direflow-cli/dist/cli.js:45:16)
at Generator.next ()
at Object. (/usr/local/lib/node_modules/direflow-cli/bin/direflow:4:13) {
code: 'ERR_REQUIRE_ESM'
}

Node.js v20.5.1

To reproduce
Steps to reproduce the behavior:

  1. Install '...'
  2. Open '....'
  3. Build '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Package Manager:
To install Direflow, I used... (npm / yarn / something else)

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2023-08-25 at 3 16 49 AM

Additional context
Add any other context about the problem here.

@mayank893arora mayank893arora added the Bug Something isn't working label Aug 24, 2023
@qhansen628
Copy link

I'm having the exact same issue

@amanvlink
Copy link

I'm encountering the same error when trying to use the direflow create command.

@MJT-Arthas
Copy link

I'm encountering the same error when trying to use the direflow create command.

@dmarcucci
Copy link

Same problem here.

@MJT-Arthas
Copy link

MJT-Arthas commented Sep 21, 2023 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants