Using Large Media setup and netlify lm:setup is stated in docs but not considered a command

I am uploading a video to my website and receive an error for my mp4 file when deploying. I am going through the docs and run into a problem.

I can run netlify help to receive all the commands but do not see a lm:setup command as stated in the docs.

Thanks in advance.

Hi, @grootsy. The Large Media plugin must first be installed with:

netlify plugins:install netlify-lm-plugin
netlify lm:install

Once that is done, the command will be found:

$ netlify help lm
Netlify Large Media

  $ netlify lm:COMMAND

  lm:info     Netlify Large Media
  lm:install  Configures your computer to use Netlify Large Media.
  lm:setup    Configures your site to use Netlify Large Media.

The first two commands are covered in the requirements documentation.

If that doesn’t resolve the issue, please let us know.

1 Like