-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
gitmoji -c throws ERR_MODULE_NOT_FOUND #1321
Comments
Can reproduce, seems likely that a EDIT: Seems like |
I made a PR to limit to minor versions of EDIT: Merged, awaiting release. |
Released thanks everyone! ❤️ |
And it works! Thanks for the quick fix @segersniels and @carloscuesta ❤ |
Describe the bug
When issuing
gitmoji -c
bellow error is thrown:node:internal/modules/esm/resolve:265
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\some.user\AppData\Roaming\nvm\v20.15.0\node_modules\gitmoji-cli\node_modules\inquirer\lib\prompts\base.js' imported from C:\Users\some.user\AppData\Roaming\nvm\v20.15.0\node_modules\gitmoji-cli\node_modules\inquirer-autocomplete-prompt\index.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1157:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38)
at ModuleWrap. (node:internal/modules/esm/module_job:87:39)
at link (node:internal/modules/esm/module_job:86:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/some.user/AppData/Roaming/nvm/v20.15.0/node_modules/gitmoji-cli/node_modules/inquirer/lib/prompts/base.js'
}
Node.js v20.15.0
Reproduction
System Info
Validations
The text was updated successfully, but these errors were encountered: