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

Cannot find module 'hexo/lib/plugins/console/generate' #95

Open
uiolee opened this issue Jul 13, 2023 · 0 comments
Open

Cannot find module 'hexo/lib/plugins/console/generate' #95

uiolee opened this issue Jul 13, 2023 · 0 comments

Comments

@uiolee
Copy link

uiolee commented Jul 13, 2023

when i run hexo g,
it occurs error.

Error: Cannot find module 'hexo/lib/plugins/console/generate'
Require stack:
- E:\my-hexo\node_modules\@jiangtj\hexo-next-pwa\lib\service-worker.js
- E:\my-hexo\node_modules\@jiangtj\hexo-next-pwa\index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Hexo.<anonymous> (E:\my-hexo\node_modules\@jiangtj\hexo-next-pwa\lib\service-worker.js:59:29)
    at Hexo.tryCatcher (E:\my-hexo\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (E:\my-hexo\node_modules\bluebird\js\release\method.js:15:34)
    at Hexo.call (E:\my-hexo\node_modules\hexo\dist\hexo\index.js:208:28)
    at E:\my-hexo\node_modules\hexo-cli\dist\hexo.js:56:21
    at tryCatcher (E:\my-hexo\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (E:\my-hexo\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (E:\my-hexo\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (E:\my-hexo\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (E:\my-hexo\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (E:\my-hexo\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (E:\my-hexo\node_modules\bluebird\js\release\async.js:86:9)

hexo 7.0.0-rc1

when i check node_modules\hexo, could not get a directory lib.
but find dist.

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

No branches or pull requests

1 participant