Hi Dan,
For 12.2, you would not get an sca(archives) to deploy on NW.
The way is creating a project and importing the lib in it. Then you reference this lib in irpt pages.
This is the way you are also working, i would suggest use an IRPT page instead of html and see it it still fails.
It should work.
Regards,
Swaroop