LiquidCore icon indicating copy to clipboard operation
LiquidCore copied to clipboard

Can't figure out how to install modules please help

Open 1stRadiant opened this issue 3 years ago • 1 comments

I have tried to follow the big number example but I can't get it to work when i require() in my js code. I used $npm install bignumber.js This creates a node_modules folder in my root folder, but when i try to use var BigNumber = require("bignumber.js");

I get the following error:

E/JSEXCEPTION: Unhandled exception: Error: java.lang.reflect.InvocationTargetException service.js:2 var BigNumber = require('bignumber.js') ^

1stRadiant avatar Dec 09 '21 12:12 1stRadiant

this repo seems not maintain anymore

huy-lv avatar Jan 23 '24 01:01 huy-lv