Moralis in Cocos

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';
const Moralis = require('moralis');
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

This last error seems like something related to web3.
I don’t know how to help you now with this, I didn’t use cocos.