Cannot find module 'Function/Curry'
Andonvr opened this issue · 6 comments
Andonvr commented
When I try to compile my project, I get the following error:
node_modules/playa/build/types/tools/event.d.ts:43:46 - error TS2307: Cannot find module 'Function/Curry' or its corresponding type declarations.
43 export declare const mapStartToEvent: import("Function/Curry").Curry<(startTime: TimeFormat, event: Event) => Event>;
~~~~~~~~~~~~~~~~
Found 1 error in node_modules/playa/build/types/tools/event.d.ts:43
I'm running Windows 10 btw
ricardomatias commented
Which version of playa are you using and how are you compiling your project?
IngoOutgo commented
I'm using playa 1.2.0, and typescript. The error occurs when just typing "tsc". But when I run it with ts-node-dev, it works fine.
My tsconfig.json looks like this:
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2020",
"sourceMap": true,
"outDir": "dist"
},
"include": ["src/**/*"]
}
ricardomatias commented
@IngoOutgo did you figure out the problem?