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 #176

Closed mstfldmr closed 3 years ago

mstfldmr commented 3 years ago

Describe the bug amplify add video does not work

To Reproduce Steps to reproduce the behavior: amplify --version 4.40.1

npm install amplify-category-video -g Successfully installed Amplify Video

amplify init

amplify video add
The Amplify CLI can NOT find command: video add

Expected behavior add video component to the project

Desktop (please complete the following information):

mstfldmr commented 3 years ago

amplify plugin add command solved the problem. The location of the plugin was /Users/myuser/.npm-global/lib/node_modules/amplify-category-video for me.

axptwig commented 3 years ago

glad you solved the problem! If you would like to contribute to the project further, we need people to sanity check our docs and would love your feedback on some of the quick starts! Cheers~

washington-kibichii commented 2 years ago

amplify plugin add command solved the problem. The location of the plugin was /Users/myuser/.npm-global/lib/node_modules/amplify-category-video for me.

This one worked for me as well. To get the absolute path for the package after installing plugin check for "postinstall" path provided

AdminPanel % npm install amplify-category-video -g

> amplify-category-video@3.9.2 postinstall /Users/user/.nvm/versions/node/v12.14.1/lib/node_modules/amplify-category-video
> node scripts/post-install.js

------------------------------------

Successfully installed Amplify Video

------------------------------------

+ amplify-category-video@3.9.2
updated 1 package in 32.609s
dickysaylz commented 2 years ago

amplify plugin add command solved the problem. The location of the plugin was /Users/myuser/.npm-global/lib/node_modules/amplify-category-video for me.

absolute legend - this worked for me too! thanks