-
Notifications
You must be signed in to change notification settings - Fork 17
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
ESM package is missing #34
Comments
~/project $ yarn generate
yarn run v1.22.11
$ nuxt-generate
node:internal/modules/cjs/loader:927
throw err;
^
Error: Cannot find module 'esm'
Require stack:
- /project/node_modules/nuxt-generate-cluster/bin/nuxt-generate.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:924:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/project/node_modules/nuxt-generate-cluster/bin/nuxt-generate.js:83:17)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972: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: [
'/project/node_modules/nuxt-generate-cluster/bin/nuxt-generate.js'
]
} Installed esm in package.json as devDependency and now it works. Can you please include it in dep ? Thank you for your work 🙏 |
TakCastel
added a commit
to TakCastel/nuxt-generate-cluster
that referenced
this issue
Nov 5, 2021
Trying to fix this : nuxt-community#34
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please add esm package as a devDependency, otherwise nuxt-generate-cluster is not working with Nuxt 2.15.2.
The text was updated successfully, but these errors were encountered: