Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Monorepo issues with parallel builds of @rescript/core files

$
0
0

Hello everyone !

I have a monorepo for tilia and @tilia/react and both these projects build @rescript/core files.

My issue is that building these two projects in parallel using pnpm leads to this problem:

tilia prebuild: rescript: [75/217] src/Core__WeakMap.cmj
tilia prebuild: FAILED: src/Core__WeakMap.cmj
tilia prebuild: Fatal error: exception End_of_file
react prebuild: rescript: [71/217] src/Core__WeakMap.cmj

The tilia and react builds touch the same @rescript/core lib folder inside the root node_modules at the same time.

I could remove the parallel build in the monorepo but I am wondering if someone knows of a better idea (like @rescript/core prebuild) ?


Viewing all articles
Browse latest Browse all 2592

Trending Articles