awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

The Amplify CLI can NOT find command: video add #156

Closed yudao closed 3 years ago

yudao commented 3 years ago

Hi all,

I'm trying to add this plugin into my amplify project but it's seems not existent for him.

I've already seen #23 issue but it seems resolved in older version.

> sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.7
BuildVersion:   19H2
> amplify --version
4.32.0
> npm install -g amplify-category-video
------------------------------------
Successfully installed Amplify Video
------------------------------------
+ amplify-category-video@3.2.0
> amplify video add
The Amplify CLI can NOT find command:  video add
Scanning for plugins...
Plugin scan successful

Thanks for your help.

Yu.

wizage commented 3 years ago

Hi Yu,

This sometimes happens randomly and you just need to add the video command manually.

To do so you can run: amplify plugin add

then just paste in the install location of amplify video into the request.

For mac's this is most likely installed at: /usr/local/lib/node_modules

yudao commented 3 years ago

Hi wizage.

Thanks for the tip, all is working well!

Cheers,

Yu.