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

之前运行好好的,现在全部任务都是Error: Cannot find module '@grpc/proto-loader' #722

Open
wifisky-feilian opened this issue Jan 18, 2025 · 1 comment

Comments

@wifisky-feilian
Copy link
Contributor

之前运行好好的,现在全部任务都是Error: Cannot find module '@grpc/proto-loader'

运行依赖还是以上错误~

目前青龙 v2.18.1

开始执行... 2025-01-18 15:06:00

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

Error: Cannot find module '@grpc/proto-loader'
Require stack:

  • /ql/shell/preload/client.js
  • /ql/shell/preload/sitecustomize.js
  • internal/preload
    at Function._resolveFilename (node:internal/modules/cjs/loader:1249:15)
    at Function._load (node:internal/modules/cjs/loader:1075:27)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:218:24)
    at Module.require (node:internal/modules/cjs/loader:1340:12)
    at require (node:internal/modules/helpers:141:16)
    at Object. (/ql/shell/preload/client.js:2:21)
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Object..js (node:internal/modules/cjs/loader:1689:10)
    at Module.load (node:internal/modules/cjs/loader:1318:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/ql/shell/preload/client.js',
    '/ql/shell/preload/sitecustomize.js',
    'internal/preload'
    ]
    }

Node.js v22.11.0

执行结束... 2025-01-18 15:06:01 耗时 1 秒   

@qwazx
Copy link

qwazx commented Jan 19, 2025

发现原因了,是依赖的问题,得重新运行一下安装依赖

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

2 participants