Hello, my netlify site name is coccamp-web.netlify.app
I built it from the starter with Sanity and Eleventy. The package came with lerna to manage the two separate folders. The way I set it up now, the builds to the eleventy site should be triggered only from the cms. As it is already deployed and working, I decided to remove the ‘lerna bootstrap’ command before the eleventy build, because as I see this elevates the build time, and the only thing that I really need is that Eleventy run its querys again to get the fresh content from Sanity.
But when I removed the ‘lerna bootstrap’ command, I receive in the build log "Error: Cannot find module ‘@sanity/block-content-to-html’’ as if the dependency is not installed? The first time it happened, I placed the lerna command back to see if maybe something was uninstalled by accident, but no - this happens everytime. With the bootstrap command the build passes, without it it says the dependency is not found. Why would that be?
the command that passes: lerna bootstrap && npm run build-web
command that fails: npm run build-web
Thanks for any responses