We have an existing rescript project and attempted to integrate thin backend into it. Started to follow this tutorial : ReScript with Thin - Thin Backend
In the 3rd step, Installed the types in our local environment. After that we are bumping into an error :
Error: package rescript-ihp-backend not found or built
- Did you install it?
- If you did, did you run
rescript build -with-deps
?
Howeverrescript build -with-deps
is the command we are running, and getting this error.
One of my colleague also tried at his end and he too keeps getting an error, which says : scr/Main.bs.js:6:28: error: Could not resolve “ihp-backend” (mark it as external to exclude it from the bundle)
Screenshot :