Threekiii / Vulnerability-Wiki

基于 docsify 快速部署 Awesome-POC 中的漏洞文档
1.66k stars 332 forks source link

vps ubuntu20.04 运行"docker-compose up -d"错误 #12

Closed via-labs closed 2 years ago

via-labs commented 2 years ago

internal/modules/cjs/loader.js:638 throw err; ^

Error: Cannot find module 'fs/promises' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/bin/install.js:10:12) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) ERROR: Service 'base' failed to build: The command '/bin/sh -c cnpm i docsify-cli -g' returned a non-zero code: 1

Lihuamao321 commented 2 years ago

同问,我也遇到了类似问题

Threekiii commented 2 years ago

dockerfile已更新