EcomGraduates / loom-downloader

Loom Video Downloader is a simple Node.js command-line tool to download videos from loom.com. It retrieves the video download link based on the video ID in the URL and saves the video with a specified filename or, by default, the video ID.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The requested module 'escalade/sync' does not provide an export named 'default'

otonomee opened this issue · comments

/node_modules/yargs/lib/platform-shims/esm.mjs:5
import escalade from 'escalade/sync'
^^^^^^^^
SyntaxError: The requested module 'escalade/sync' does not provide an export named 'default'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12)

Not working from initial clone

Node.js v21.2.0

Hey! Have you've confirmed that the package.json in the module's folder doesn't have "type": "module" in it? That's could be the issue.

Additionally, there's a new version in the Development branch, can you check if issue persists with this new version?