mirror of
https://github.com/koush/scrypted.git
synced 2026-09-21 11:10:40 +01:00
more logs
This commit is contained in:
@@ -383,6 +383,7 @@ export class ScryptedRuntime {
|
||||
async installNpm(pkg: string): Promise<PluginHost> {
|
||||
const registry = (await axios(`https://registry.npmjs.org/${pkg}`)).data;
|
||||
const latest = registry['dist-tags'].latest;
|
||||
console.log('latest package', pkg, latest);
|
||||
|
||||
const tarball = (await axios(`${registry.versions[latest].dist.tarball}`, {
|
||||
responseType: 'arraybuffer'
|
||||
|
||||
Reference in New Issue
Block a user