本地调试没问题,打包安卓就报错了 cc.registerModuleFunc is not a function

因为需要用到外部包,所以使用了 npm引入,本地调试没有问题,打包安卓就报错了 ,是包没倒入的原因吗