D0n9X1n / hexo-blog-encrypt

Yet, just another hexo plugin for security.
https://www.npmjs.com/package/hexo-blog-encrypt
MIT License
971 stars 101 forks source link

无法安装这个插件在docker容器中 #214

Open captainstdin opened 8 months ago

captainstdin commented 8 months ago

无法安装这个插件在docker容器中

安装命令的错误日志

 npm install --save hexo-blog-encrypt
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})

+ hexo-blog-encrypt@3.1.9
updated 1 package in 1.206s

44 packages are looking for funding
  run `npm fund` for details

Specifications

(The version of the project, operating system, hardware etc.)

设备机器

uname -a
Darwin macmini.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:28:31 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8112 arm64

docker 容器启动方式和版本

docker run -it -v `pwd`:/app --name="hexomacmini" --rm -p4002:4000 node:14  bash