I was able to install the package for react-moralis without any issues. When trying to import from the package I receive an "unexpected token failed to compile" syntax error. The simple code is this
import { Moralis} from react-moralis
CodePudding user response:
Put it in quotes like this:
import { Moralis } from 'react-moralis'