[SOLVED] Moralis-v1/types

using
import { Moralis } from ‘moralis-v1/types’;

I get
Module not found: Error: Can’t resolve ‘moralis-v1/types’

facts:

  1. moralis-v1/types exists in node_modules
  2. “react-moralis”: “^1.4.2”,
  3. “moralis-v1”: “^1.11.0”,
  4. this discussion doesn’t help at all: Module not found: can't resolve 'moralis -v1'

You can import and use moralis-v1 with:

import Moralis from 'moralis-v1';
1 Like