Hi, I have using moralis in Cocos Creator by import from npm
import Moralis from 'moralis/dist/moralis.min.js';
and I get a error when call Moralis.start
after i change my code to
import Moralis from 'moralis';
or
const Moralis = require('moralis');
or
const Moralis = require('moralis/node');
It is not work, i get a other error in cocos
please help me, how to use moralis in cocos! thanks