You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just run into this myself. Until it's fixed, for anyone else wanting to use ts-readme, you can install @babel/runtime in your own project as a dev dependency:
Describe the bug
This project requires @babel/runtime/helpers/interopRequireWildcard but is not listed either as a dependency not peerDependency.
To Reproduce
run
npx ts-readme
on a typescript projectScreenshots
> ts-readme node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module '@babel/runtime/helpers/interopRequireWildcard' Require stack: - (...)\node_modules\ts-readme\dist\cjs\bin.js - (...)\node_modules\ts-readme\bin\ts-readme.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> ((...)\node_modules\ts-readme\dist\cjs\bin.js:1:42) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '(...)\\node_modules\\ts-readme\\dist\\cjs\\bin.js', '(...)\\node_modules\\ts-readme\\bin\\ts-readme.js' ] }
Environment information:
Additional context
The text was updated successfully, but these errors were encountered: