Open meowcat opened 2 years ago
npm8 became stricter with peer dependencies. You should use a flag that forces the installation or use npm6
Hi,
thanks. Is there a specific Node version this runs on? I now tried to install with npm install --force
. This almost worked, I think, until in the end I got
> visualizer@2.138.0 postinstall
> npm run install-components && npm run install-browserified
npm WARN using --force Recommended protections disabled.
glob error [Error: EACCES: permission denied, scandir '/root/.npm/_logs'] {d.
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs'
}
[..................] \ : WARN using --force Recommended protections disabled.
> visualizer@2.138.0 install-components
> bower install
/nodeapp/node_modules/bower/lib/node_modules/configstore/index.js:54disabled.
throw err;
^
Error: EACCES: permission denied, open '/root/.config/configstore/bower-github.json'
You don't have access to this file.
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at Configstore.get (/nodeapp/node_modules/bower/lib/node_modules/configstore/index.js:35:26)
at new Configstore (/nodeapp/node_modules/bower/lib/node_modules/configstore/index.js:28:45)
at readCachedConfig (/nodeapp/node_modules/bower/lib/config.js:19:23)
at defaultConfig (/nodeapp/node_modules/bower/lib/config.js:11:12)
at Object.<anonymous> (/nodeapp/node_modules/bower/lib/index.js:16:32)
at Module._compile (node:internal/modules/cjs/loader:1097:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10)
at Module.load (node:internal/modules/cjs/loader:975:32) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/root/.config/configstore/bower-github.json'
}
Node.js v17.1.0
npm ERR! code 1
npm ERR! path /nodeapp
npm ERR! command failed
npm ERR! command sh -c npm run install-components && npm run install-browserified
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-11-26T15_37_50_581Z-debug.log
I am root on docker here, so I don't get why I should have access problems. (There are also some deprecation warnings, but I assume this is normal...)
Hi,
I tested getting Visualizer to run in a Node docker:
This results in the following error. I tried with images
node
andnode:16
. Is this an obvious problem from my side?