contentful-userland / cf-content-types-generator

Generate TS declarations for content types
MIT License
115 stars 25 forks source link

Getting module error in latest (2.15.4) version #363

Closed wadehammes closed 2 months ago

wadehammes commented 2 months ago
> next-after-avenue@0.0.0 types:contentful /Users/wade/Repos/after-avenue
> export $(cat .env | sed '/^#/d; s/[$"]//g'); cf-content-types-generator -s $CONTENTFUL_SPACE_ID -t $CONTENTFUL_CMA_TOKEN -o src/contentful/types -X && biome format --write src/contentful/types

(node:33856) [MODULE_NOT_FOUND] Warning: ModuleLoadError
module: @oclif/core@4.0.17
task: findCommand (Symbol(SINGLE_COMMAND_CLI))
plugin: cf-content-types-generator
root: /Users/wade/Repos/after-avenue/node_modules/.pnpm/cf-content-types-generator@2.15.4/node_modules/cf-content-types-generator
code: MODULE_NOT_FOUND
message: [MODULE_NOT_FOUND] require failed to load /Users/wade/Repos/after-avenue/node_modules/.pnpm/cf-content-types-generator@2.15.4/node_modules/cf-content-types-generator/lib/commands/Symbol(SINGLE_COMMAND_CLI): Cannot find module '/Users/wade/Repos/after-avenue/node_modules/.pnpm/cf-content-types-generator@2.15.4/node_modules/cf-content-types-generator/lib/commands/Symbol(SINGLE_COMMAND_CLI)'
Require stack:
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/module-loader.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/help/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/errors/handle.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/errors/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/config/config.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/config/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/command.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@oclif+core@4.0.17/node_modules/@oclif/core/lib/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/cf-content-types-generator@2.15.4/node_modules/cf-content-types-generator/bin/run
See more details with DEBUG=*
(Use `node --trace-warnings ...` to show where the warning was created)

Not happening with previous version

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 2.15.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: