Skip to content

Package ‘video.js’ was found but does not support schematics

Issue Summary

  1. Node.js Version Warning:
    • You are using Node.js version v23.1.0, which is an odd-numbered version.
    • Odd-numbered Node.js versions are not recommended for production since they will not enter LTS (Long Term Support) status.
  2. Package Installation Process:
    • The command you executed was:
      plaintext
      ng add video.js hls.js axios @auth0/angular-jwt
      
    • The Angular CLI determined the package manager (npm) and found compatible versions of the packages.
    • The installation of video.js was confirmed, but a warning was generated:

Understanding the Warnings

  • Node.js Version:
    • It’s advisable to switch to an even-numbered LTS version for stability, such as the latest Node.js 18.x or Node.js 20.x if available.
  • Video.js Package Warning:
    • The warning indicates that while the package was found, it does not support Angular schematics. This means that the package may not automatically configure your Angular project as expected.
    • You might need to configure it manually after installation.

Next Steps

  1. Switch Node.js Version:
    • Download and install a stable LTS version of Node.js.
    • You can use Node Version Manager (nvm) to easily switch between versions.
  2. Manual Configuration:
    • After installing the packages, check the official documentation for video.js to configure it in your Angular project.
    • Ensure you also check the configuration steps for hls.jsaxios, and @auth0/angular-jwt.

Leave a Reply

Discover more from Sowft | Transforming Ideas into Digital Success

Subscribe now to keep reading and get access to the full archive.

Continue reading