Skip to content

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

Description

@sugizo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions