Flood-UI / flood

A web UI for rTorrent, qBittorrent and Transmission with a Node.js backend and React frontend. Migrate to v4: https://github.com/jesec/flood/wiki/Migrate-from-older-versions-of-Flood.
https://flood.js.org
GNU General Public License v3.0
1.81k stars 173 forks source link

Raspberry Pi3 Stretch flood npm install error. #852

Open nscpro opened 4 years ago

nscpro commented 4 years ago

gyp verb get node dir no --target version specified, falling back to host node version: 8.16.2 gyp verb command install [ '8.16.2' ] gyp verb install input version string "8.16.2" gyp verb install installing version: 8.16.2 gyp verb install --ensure was passed, so won't reinstall if already installed gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.16.2" gyp WARN EACCES attempting to reinstall using temporary dev dir "/srv/torrent/flood/node_modules/node-sass/.node-gyp" gyp verb tmpdir == cwd automatically will remove dev files after to save disk space gyp verb command install [ '--node_gyp_internal_noretry', '8.16.2' ] gyp verb install input version string "8.16.2" gyp verb install installing version: 8.16.2 gyp verb install --ensure was passed, so won't reinstall if already installed gyp verb install version not already installed, continuing with install 8.16.2 gyp verb ensuring nodedir is created /srv/torrent/flood/node_modules/node-sass/.node-gyp/8.16.2 gyp WARN install got an error, rolling back install gyp verb command remove [ '8.16.2' ] gyp verb remove using node-gyp dir: /srv/torrent/flood/node_modules/node-sass/.node-gyp gyp verb remove removing target version: 8.16.2 gyp verb remove removing development files for version: 8.16.2 gyp WARN install got an error, rolling back install gyp verb command remove [ '8.16.2' ] gyp verb remove using node-gyp dir: /srv/torrent/flood/node_modules/node-sass/.node-gyp gyp verb remove removing target version: 8.16.2 gyp verb remove removing development files for version: 8.16.2 gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/srv/torrent/flood/node_modules/node-sass/.node-gyp' gyp ERR! System Linux 4.19.66-v7+ gyp ERR! command "/usr/bin/node" "/srv/torrent/flood/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /srv/torrent/flood/node_modules/node-sass gyp ERR! node -v v8.16.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-react-app@2.1.0 requires a peer of babel-eslint@^7.2.3 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint@^4.1.1 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.8 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.8: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-sass@4.13.0 postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the node-sass@4.13.0 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2019-12-10T22_55_10_197Z-debug.log

ClementNerma commented 4 years ago

I had exactly the same problem while trying to install Flood the last week :/ Even creating the directory beforehand did not work.