Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting module error in latest (2.15.4) version #363

Closed
wadehammes opened this issue Aug 20, 2024 · 1 comment · Fixed by #364
Closed

Getting module error in latest (2.15.4) version #363

wadehammes opened this issue Aug 20, 2024 · 1 comment · Fixed by #364
Labels

Comments

@wadehammes
Copy link

> [email protected] 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/[email protected]
task: findCommand (Symbol(SINGLE_COMMAND_CLI))
plugin: cf-content-types-generator
root: /Users/wade/Repos/after-avenue/node_modules/.pnpm/[email protected]/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/[email protected]/node_modules/cf-content-types-generator/lib/commands/Symbol(SINGLE_COMMAND_CLI): Cannot find module '/Users/wade/Repos/after-avenue/node_modules/.pnpm/[email protected]/node_modules/cf-content-types-generator/lib/commands/Symbol(SINGLE_COMMAND_CLI)'
Require stack:
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/module-loader.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/help/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/errors/handle.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/errors/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/config/config.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/config/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/command.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/@[email protected]/node_modules/@oclif/core/lib/index.js
- /Users/wade/Repos/after-avenue/node_modules/.pnpm/[email protected]/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

Copy link

🎉 This issue has been resolved in version 2.15.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant