Open epugh opened 2 years ago
I finally cloned the repo and installed it via node -i
and then I tried just ./widdershins
and that works!
This is different from the example given at https://github.com/Mermade/widdershins#examples
Same here but the workaround above does not address the problem
Describe the bug
➜ tempdir node widdershins openapi.json -o output.md node:internal/modules/cjs/loader:942 throw err; ^
Error: Cannot find module '/Users/epugh/Documents/projects/tempdir/widdershins' at Module._resolveFilename (node:internal/modules/cjs/loader:939:15) at Module._load (node:internal/modules/cjs/loader:780:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Node.js v18.0.0
This is after running
npm install -g widdershins
.