Closed woneeseo closed 2 years ago
I found this error on Nov 1st. No special modifications were made to use textlint. I ran it with textlint "filename".
textlint "filename"
Error Cannot find module '@textlint/ast-node-types' Require stack: - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\node_modules\textlint-rule-helper\lib\textlint-rule-helper.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\node_modules\textlint-rule-helper\lib\index.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\lib\textlint-rule-prh.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\engine\textlint-module-loader.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\engine\textlint-engine-core.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\textlint-engine.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\cli.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\bin\textlint.js Stack trace Error: Cannot find module '@textlint/ast-node-types' Require stack: - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\node_modules\textlint-rule-helper\lib\textlint-rule-helper.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\node_modules\textlint-rule-helper\lib\index.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\lib\textlint-rule-prh.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\engine\textlint-module-loader.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\engine\textlint-engine-core.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\textlint-engine.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\lib\src\cli.js - C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint\bin\textlint.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (C:\Users\fxY90cc\AppData\Roaming\npm\node_modules\textlint-rule-prh\node_modules\textlint-rule-helper\lib\textlint-rule-helper.js:3:24) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19)
It is probably due to the effect of the textlint-rule-helper commit that you executed around October 31. Can you tell me how to solve this problem?
Duplicated of https://github.com/textlint/textlint-rule-helper/issues/18 It is textlint-rule-helper issue.
I found this error on Nov 1st. No special modifications were made to use textlint. I ran it with
textlint "filename"
.It is probably due to the effect of the textlint-rule-helper commit that you executed around October 31. Can you tell me how to solve this problem?