How to solve the problem of wrong sinopia installation?

problem description

according to the official website install sinopia, an error is reported

the platform version of the problem and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)
npm install-g sinopia (uses root users)

gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir "/opt/modul/node-v8.11.3-linux-x64/lib/node_modules/sinopia/node_modules/crypt3/build"
gyp ERR! System Linux 2.6.32-642.el6.x86_64
gyp ERR! command "/opt/modul/node-v8.11.3-linux-x64/bin/node" "/opt/modul/node-v8.11.3-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/modul/node-v8.11.3-linux-x64/lib/node_modules/sinopia/node_modules/crypt3
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 

> fs-ext@0.4.5 install /opt/modul/node-v8.11.3-linux-x64/lib/node_modules/sinopia/node_modules/fs-ext
> node-gyp configure build

gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir "/opt/modul/node-v8.11.3-linux-x64/lib/node_modules/sinopia/node_modules/fs-ext/build"
gyp ERR! System Linux 2.6.32-642.el6.x86_64
gyp ERR! command "/opt/modul/node-v8.11.3-linux-x64/bin/node" "/opt/modul/node-v8.11.3-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /opt/modul/node-v8.11.3-linux-x64/lib/node_modules/sinopia/node_modules/fs-ext
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 

what result do you expect? What is the error message actually seen?

do not report an error

Npm
Mar.28,2021

clipboard.png

missing fs-ext crypt3 these two modules
install will not make a mistake


Hi I also encountered this problem. Installing sinopia on Ali Cloud linux server ecs is the same as if you reported an error, and installing fs-ext and crypt3 also failed

Menu