mifi / mifi/editly

SyntaxError: Unexpected token '.' at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

Open
#335 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
374
PR merge metrics
No merged PRs in 30d

Description

env
google colab

steps

!apt update
!apt install -y npm ffmpeg build-essential libxi-dev libglu1-mesa-dev libglew-dev pkg-config
!npm i -g editly
!chmod +x /usr/local/bin/editly
!editly \
  title:'My video' \
  clip1.mov \
  clip2.mov \
  title:'My slideshow' \
  img1.jpg \
  img2.jpg \
  title:'THE END' \
  --fast \
  --audio-file-path music.mp3

result

file:///usr/local/lib/node_modules/editly/node_modules/file-type/core.js:52
		this.detectors = options?.customDetectors;
		                         ^

SyntaxError: Unexpected token '.'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

question
how to make it work ?

thanks and best regards

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the command in Google Colab and start with the failing dependency at node_modules/file-type/core.js:52, where optional chaining triggers the syntax error. Check the runtime and installed editly dependency context; done means the documented editly command runs without this parsing failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.