How to Solve this build error

I am trying to build the apk in android.I am getting the error.can any one help me?
[21:59:37] Cannot run sass task: missing in gulpfile.js
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring root project ‘android’.

You have not accepted the license agreements of the following SDK components:
[Android Support Repository].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    [ERROR] An error occurred while running subprocess cordova.

If you have android studio then try to build apk in it. It will automatically ask for permission and license agreement and allow them

You need to open Android Studio, accept the agreements and run the command again.