I have changed the code multiple times, typing each import statement followed by their errors.
import { Drizzle, generateStore } from "drizzle";
Module not found: Can't resolve 'drizzle' in 'C:\Users[]\client\src'
import {generateStore} from 'drizzle/store/src/generateStore';
import {generateStore} from 'drizzle/store/src/';
import * as generateStore from '../node_modules/drizzle/store/src/generateStore';
import { Drizzle, generateStore } from "drizzle/store/src/";
I have changed the code multiple times, typing each import statement followed by their errors.
import { Drizzle, generateStore } from "drizzle";
Module not found: Can't resolve 'drizzle' in 'C:\Users[]\client\src'
import {generateStore} from 'drizzle/store/src/generateStore'; import {generateStore} from 'drizzle/store/src/'; import * as generateStore from '../node_modules/drizzle/store/src/generateStore'; import { Drizzle, generateStore } from "drizzle/store/src/";
TypeError: Cannot read properties of undefined (reading 'filter') generateContractInitialState C:/Users/[]/client/node_modules/drizzle/store/src/contractStateUtils.js:17 14 | } 15 | 16 | export const generateContractInitialState = contractConfig => {
import '../node_modules/drizzle/store/src/generateStore'; import 'drizzle/store/src/generateStore';
Line 22:22: 'generateStore' is not defined no-undef