Closed nathanwhit closed 2 years ago
Umpf. Yes, it seems broken with the hbs paths, completely wrong. Will need a patch release.
Fix here https://github.com/polkadot-js/api/pull/4738/files#diff-1e1848f1e213ca5973e744d62dc27b7804b8c879f44ddee82b25d7a9d2613305R26 - will be released as 8.0.2 from CI when merged.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.
After updating a project to the latest api version I ran into trouble trying to generate typescript types. Running
now fails with
Error: Cannot find module '../src/fromDefs.ts'
.I dug into the error a bit and found that we're hitting this catch statement with the error:
(where
mypackage
is the path to my project, just replaced for privacy)