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

Receiving "Error: Cannot find module './init'" in v3.0.1+ #474

Closed
kwpav opened this issue Dec 20, 2020 · 5 comments
Closed

Receiving "Error: Cannot find module './init'" in v3.0.1+ #474

kwpav opened this issue Dec 20, 2020 · 5 comments
Labels

Comments

@kwpav
Copy link

kwpav commented Dec 20, 2020

When using resume-cli@3.0.1 and later, I am getting the following error:

node:internal/modules/cjs/loader:928
  throw err;
  ^

Error: Cannot find module './init'
Require stack:
- /home/k/p/resume/node_modules/resume-cli/build/main.js
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
    at Function.Module._load (node:internal/modules/cjs/loader:769:27)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/home/k/p/resume/node_modules/resume-cli/build/main.js:6:36)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/home/k/p/resume/node_modules/resume-cli/build/main.js'
  ]
}
error Command failed with exit code 1.

I do not get this error when using v3.0.0

To reproduce:

yarn init -y
yarn add resume-cli@3.0.1
yarn resume

This produces the above error.

Using resume-cli@3.0.0 produces the expected result.

@kwpav kwpav changed the title Receiving "Error: Cannot find module './init'" in v3.0.1 Receiving "Error: Cannot find module './init'" in v3.0.1+ Dec 20, 2020
@frezbo
Copy link

frezbo commented Dec 20, 2020

I'm also getting the same error. Is there something I'm missing?

@GarckaMan
Copy link

I'm also getting the same error. Is there something I'm missing?

Same thing started happening to me. I rolled back to version 3.0.0 for now.

@alvaromartmart
Copy link

Same here

@github-actions
Copy link

🎉 This issue has been resolved in version 3.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rbardini
Copy link
Contributor

Sorry about that, it was a mistake in the release configuration. Should be working now.

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

No branches or pull requests

5 participants