#Cannot find module './store'

1 messages · Page 1 of 1 (latest)

thorn tundra
#

So I am extending user and product entities to setup the Marketplace.
(And to add further context, I am a very junior developer and still learning a lot)

Line Code:
import { Store } from "./store"

Full error:

src/models/user.ts:11:23 - error TS2307: Cannot find module './store' or its corresponding type declarations.

11 import { Store } from './store'

hallow portal
#

It means that there is no file store along side the file you are trying to import it to

thorn tundra
thorn tundra
#

Up!

wise thistle
#

? do not expect better answer unless you provide more information. we have no idea what are you trying to do, what you have done so far, what is the setup etc ...