turbo gen: Unexpected error. Please report it as a bug: ERR_MODULE_NOT_FOUND

When running turbo gen, I’m suddenly getting ERR_MODULE_NOT_FOUND. We haven’t changed anything in this file, upgraded node or turbo, etc. I am able to reproduce this with past commits that ran successfully. We’re seeing this issue locally and on our Vercel build runners. Is there an underlying dependency change?

Unexpected error. Please report it as a bug:
Error [ERR_MODULE_NOT_FOUND]: Cannot find module ‘/private/var/folders/ns/1yy9xnbd4zzggkyg041rdf140000gn/T/turbo-gen/locale-generate’ imported from /private/var/folders/ns/1yy9xnbd4zzggkyg041rdf140000gn/T/turbo-gen/_Users_bmorin_repo_packages_localization_turbo_generators_config_ts.mjs

Running turbo gen updateLocaleType

Using v1.10.16, but upgrading to v2.8.4 has the same problem

1 Like

Hi, this should be fixed now. Sorry about that!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.