RTL: Build failed with error code: 1
Describe the bug upgrading from 0.2.15 to 0.3.2 got this error
To Reproduce Steps to reproduce the behavior: cd RTL sudo su git reset --hard HEAD git clean -f -d git pull npm install
RTL upgraded and is accessible via webpage however install ended up with errors below should i just ignore it?
Expected behavior
ok, no errors
Actual behavior
Building: /usr/bin/node /home/admin/RTL/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ '/usr/bin/node', gyp verb cli '/home/admin/RTL/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' ] gyp info using node-gyp@3.8.0 gyp info using node@11.15.0 | linux | arm gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb whichsucceeded python2 /usr/bin/python2 gyp verb check python version/usr/bin/python2 -c “import sys; print “2.7.13
gyp verb check python version .%s.%s” % sys.version_info[:3];”` returned: %j
gyp verb get node dir no --target version specified, falling back to host node version: 11.15.0
gyp verb command install [ ‘11.15.0’ ]
gyp verb install input version string “11.15.0”
gyp verb install installing version: 11.15.0
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/11.15.0”
gyp WARN EACCES attempting to reinstall using temporary dev dir “/home/admin/RTL/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’, ‘11.15.0’ ]
gyp verb install input version string “11.15.0”
gyp verb install installing version: 11.15.0
gyp verb install --ensure was passed, so won’t reinstall if already installed
gyp verb install version not already installed, continuing with install 11.15.0
gyp verb ensuring nodedir is created /home/admin/RTL/node_modules/node-sass/.node-gyp/11.15.0
gyp WARN install got an error, rolling back install
gyp verb command remove [ ‘11.15.0’ ]
gyp verb remove using node-gyp dir: /home/admin/RTL/node_modules/node-sass/.node-gyp
gyp verb remove removing target version: 11.15.0
gyp verb remove removing development files for version: 11.15.0
gyp WARN install got an error, rolling back install
gyp verb command remove [ ‘11.15.0’ ]
gyp verb remove using node-gyp dir: /home/admin/RTL/node_modules/node-sass/.node-gyp
gyp verb remove removing target version: 11.15.0
gyp verb remove removing development files for version: 11.15.0
gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir ‘/home/admin/RTL/node_modules/node-sass/.node-gyp’
gyp ERR! System Linux 4.14.98-v7+
gyp ERR! command “/usr/bin/node” “/home/admin/RTL/node_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass_ext=” “–libsass_cflags=” “–libsass_ldflags=” “–libsass_library=”
gyp ERR! cwd /home/admin/RTL/node_modules/node-sass
gyp ERR! node -v v11.15.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN angular-user-idle@2.0.0 requires a peer of @angular/common@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN angular-user-idle@2.0.0 requires a peer of @angular/core@^6.0.0-rc.0 || ^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@4.3.0 requires a peer of @angular/compiler@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN codelyzer@4.3.0 requires a peer of @angular/core@>=2.3.1 <7.0.0 || >6.0.0-beta <7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“arm”})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.12.0 postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.12.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-05-13T18_11_26_044Z-debug.log`
Screenshots If applicable, add screenshots to help explain your problem.
Your environment Raspiblitz 1.1 on rpi 3b+ lnd 0.6.0 bitcoin 0.17.0
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 27 (1 by maintainers)
and I forgot to say ‘thank you’ for the great tool)
@bereska, no issue is minor issue till it is resolved 😃. Thanks for using RTL, closing the issue now.
Hi @ShahanaFarooqui, thank you for your help and the excellent tool to explore the lightning net work)
@ShahanaFarooqui, thank you. Just upgraded to 0.4.3-bets with --unsafe-perm flag. It worked! thank for your attention to this minor issue