You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hexo g
INFO Validating config
INFO Start processing
ERROR Process failed: languages/README.md
Error: Cannot find module 'E:\Project\hexo-shoka\node_modules\markdown-it\lib\token'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1098:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1091:15)
at resolveExports (node:internal/modules/cjs/loader:567:14)
at Module._findPath (node:internal/modules/cjs/loader:636:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27)
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:119:18)
at Object.<anonymous> (E:\Project\hexo-shoka\node_modules\markdown-it-toc-and-anchor\dist\index.js:12:37)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at E:\Project\hexo-shoka\node_modules\hexo-renderer-multi-next-markdown-it\lib\renderer\index.js:79:20
at Array.reduce (<anonymous>)
at module.exports (E:\Project\hexo-shoka\node_modules\hexo-renderer-multi-next-markdown-it\lib\renderer\index.js:77:20)
at Hexo.tryCatcher (E:\Project\hexo-shoka\node_modules\bluebird\js\release\util.js:16:23)
at Hexo.<anonymous> (E:\Project\hexo-shoka\node_modules\bluebird\js\release\method.js:15:34)
at E:\Project\hexo-shoka\node_modules\hexo\lib\hexo\render.js:81:22
at tryCatcher (E:\Project\hexo-shoka\node_modules\bluebird\js\release\util.js:16:23)
FATAL Something's wrong. Maybe you can find the solution here: https://hexo.io/docs/troubleshooting.htmlError: Cannot find module 'E:\Project\hexo-shoka\node_modules\markdown-it\lib\token' at createEsmNotFoundErr (node:internal/modules/cjs/loader:1098:15) at finalizeEsmResolution (node:internal/modules/cjs/loader:1091:15) at resolveExports (node:internal/modules/cjs/loader:567:14) at Module._findPath (node:internal/modules/cjs/loader:636:31) at Module._resolveFilename (node:internal/modules/cjs/loader:1063:27) 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:119:18) at Object.<anonymous> (E:\Project\hexo-shoka\node_modules\markdown-it-toc-and-anchor\dist\index.js:12:37) at Module._compile (node:internal/modules/cjs/loader:1256:14) at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) at Module.load (node:internal/modules/cjs/loader:1119:32) at Module._load (node:internal/modules/cjs/loader:960:12) at Module.require (node:internal/modules/cjs/loader:1143:19) at require (node:internal/modules/cjs/helpers:119:18) at E:\Project\hexo-shoka\node_modules\hexo-renderer-multi-next-markdown-it\lib\renderer\index.js:79:20 at Array.reduce (<anonymous>) at module.exports (E:\Project\hexo-shoka\node_modules\hexo-renderer-multi-next-markdown-it\lib\renderer\index.js:77:20) at Hexo.tryCatcher (E:\Project\hexo-shoka\node_modules\bluebird\js\release\util.js:16:23) at Hexo.<anonymous> (E:\Project\hexo-shoka\node_modules\bluebird\js\release\method.js:15:34) at E:\Project\hexo-shoka\node_modules\hexo\lib\hexo\render.js:81:22 at tryCatcher (E:\Project\hexo-shoka\node_modules\bluebird\js\release\util.js:16:23)
我看了一下node_modules下面的依赖包代码,没看出来什么问题
有大佬知道如何解决这个markdown渲染器的问题么
The text was updated successfully, but these errors were encountered:
UniStart2
changed the title
执行hexo g命令时,出现找不到markdown-it模块的问题
执行hexo g命令时,出现找不到markdown-it下token模块的问题
May 16, 2024
本机环境
package.json
_config.yaml 配置
执行 hexo g 命令时出现问题
老是说
markdown-it
下的token
模块找不到,也不知道是什么问题引起的。我之前用的hexo-renderer-multi-markdown-it
渲染器,在Windows上也是同样的问题,后来换成了本项目hexo-renderer-multi-next-markdown-it
好像还是一样的问题。有大佬知道如何解决这个markdown渲染器的问题么
The text was updated successfully, but these errors were encountered: