node:internalmodulescjsloader:936 throw err; 求解决

node:internalmodulescjsloader:936 throw err; 求解决,第1张

D:\ethereum\Dkfuwq>node app.js
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module 'safe-buffer'
Require stack:
- D:\ethereum\Dkfuwq\node_modules\Koa\node_modules\content-disposition\index.js
- D:\ethereum\Dkfuwq\node_modules\Koa\lib\response.js
- D:\ethereum\Dkfuwq\node_modules\Koa\lib\application.js
- D:\ethereum\Dkfuwq\app.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. (D:\ethereum\Dkfuwq\node_modules\Koa\node_modules\content-disposition\index.js:23:14)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153: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) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    'D:\\ethereum\\Dkfuwq\\node_modules\\Koa\\node_modules\\content-disposition\\index.js',
    'D:\\ethereum\\Dkfuwq\\node_modules\\Koa\\lib\\response.js',
    'D:\\ethereum\\Dkfuwq\\node_modules\\Koa\\lib\\application.js',
    'D:\\ethereum\\Dkfuwq\\app.js'
  ]
}

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/925261.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-16
下一篇 2022-05-16

发表评论

登录后才能评论

评论列表(0条)

保存