LiquidPlayer / LiquidCore

Node.js virtual machine for Android and iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adding https throws a runtime error

icaspi opened this issue · comments

I've included axios and https (trying them both) in pakcage.json in the dependency section executed yarn install and added const axios = require('axios') to the code.

When bundling the code using npx liquidcore bundle --platform=android I'm getting WARN: Cannot resolve module 'https'. This will throw an Error at runtime.

My questions are:

  • What is the best way to make an http request?
  • Is including dependencies supported, if so does it require any special work?

Pilot error - closing