You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ash bit (Jira)" <ji...@apache.org> on 2020/10/20 11:17:00 UTC

[jira] [Created] (ATLAS-3998) Build Atlas : [ERROR] Unable to save binary /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/vendor/linux-x64-57 : { Error: EACCES: permission denie

Ash bit created ATLAS-3998:
------------------------------

             Summary: Build Atlas : [ERROR] Unable to save binary /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/vendor/linux-x64-57 : { Error: EACCES: permission denie
                 Key: ATLAS-3998
                 URL: https://issues.apache.org/jira/browse/ATLAS-3998
             Project: Atlas
          Issue Type: Bug
          Components:  atlas-core
    Affects Versions: 2.1.0
            Reporter: Ash bit


Guys,

I have been trying to install Atlas in both RHEL and Ubuntu on AWS and I followed multiple websites like below ones:
 * [http://atlas.apache.org/#/BuildInstallation]
 * [https://apothem.blog/apache-atlas.html]
 * [https://github.com/apache/atlas]

but no matter I follow any of the above links, it always fails with the following error:

udit` to get more info.
[INFO]
[INFO] > node-sass@4.14.1 install /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass
[INFO] > node scripts/install.js
[INFO]
[ERROR] Unable to save binary /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/vendor/linux-x64-57 : { Error: EACCES: permission denied, mkdir '/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/vendor'
[ERROR] at Object.fs.mkdirSync (fs.js:885:18)
[ERROR] at sync (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/mkdirp/index.js:72:13)
[ERROR] at Function.sync (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/mkdirp/index.js:78:24)
[ERROR] at checkAndDownloadBinary (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/scripts/install.js:114:11)
[ERROR] at Object.<anonymous> (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/scripts/install.js:157:1)
[ERROR] at Module._compile (module.js:635:30)
[ERROR] at Object.Module._extensions..js (module.js:646:10)
[ERROR] at Module.load (module.js:554:32)
[ERROR] at tryModuleLoad (module.js:497:12)
[ERROR] at Function.Module._load (module.js:489:3)
[ERROR] errno: -13,
[ERROR] code: 'EACCES',
[ERROR] syscall: 'mkdir',
[ERROR] path: '/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass/vendor' }
[INFO]
[INFO] > core-js@2.6.11 postinstall /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/core-js
[INFO] > node -e "try\{require('./postinstall')}catch(e){}"
[INFO]
[INFO] Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
[INFO]
[INFO] The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
[INFO] > https://opencollective.com/core-js
[INFO] > https://www.patreon.com/zloirock
[INFO]
[INFO] Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
[INFO]
[INFO]
[INFO] > node-sass@4.14.1 postinstall /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass
[INFO] > node scripts/build.js
[INFO]
[INFO] Building: /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node/node /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
[ERROR] gyp info it worked if it ends with ok
[ERROR] gyp verb cli [ '/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node/node',
[ERROR] gyp verb cli '/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-gyp/bin/node-gyp.js',
[ERROR] gyp verb cli 'rebuild',
[ERROR] gyp verb cli '--verbose',
[ERROR] gyp verb cli '--libsass_ext=',
[ERROR] gyp verb cli '--libsass_cflags=',
[ERROR] gyp verb cli '--libsass_ldflags=',
[ERROR] gyp verb cli '--libsass_library=' ]
[ERROR] gyp info using node-gyp@3.8.0
[ERROR] gyp info using node@8.9.0 | linux | x64
[ERROR] gyp verb command rebuild []
[ERROR] gyp verb command clean []
[ERROR] gyp verb clean removing "build" directory
[ERROR] gyp verb command configure []
[ERROR] gyp verb check python checking for Python executable "python2" in the PATH
[ERROR] gyp verb `which` failed Error: not found: python2
[ERROR] gyp verb `which` failed at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)
[ERROR] gyp verb `which` failed at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)
[ERROR] gyp verb `which` failed at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5
[ERROR] gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
[ERROR] gyp verb `which` failed python2 { Error: not found: python2
[ERROR] gyp verb `which` failed at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)
[ERROR] gyp verb `which` failed at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)
[ERROR] gyp verb `which` failed at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5
[ERROR] gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
[ERROR] gyp verb `which` failed stack: 'Error: not found: python2\n at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)\n at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)\n at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:152:21)',
[ERROR] gyp verb `which` failed code: 'ENOENT' }
[ERROR] gyp verb check python checking for Python executable "python" in the PATH
[ERROR] gyp verb `which` failed Error: not found: python
[ERROR] gyp verb `which` failed at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)
[ERROR] gyp verb `which` failed at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)
[ERROR] gyp verb `which` failed at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5
[ERROR] gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
[ERROR] gyp verb `which` failed python { Error: not found: python
[ERROR] gyp verb `which` failed at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)
[ERROR] gyp verb `which` failed at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)
[ERROR] gyp verb `which` failed at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5
[ERROR] gyp verb `which` failed at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5
[ERROR] gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21)
[ERROR] gyp verb `which` failed stack: 'Error: not found: python\n at getNotFoundError (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:13:12)\n at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:19)\n at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5\n at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5\n at FSReqWrap.oncomplete (fs.js:152:21)',
[ERROR] gyp verb `which` failed code: 'ENOENT' }
[ERROR] gyp ERR! configure error
[ERROR] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
[ERROR] gyp ERR! stack at PythonFinder.failNoPython (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-gyp/lib/configure.js:484:19)
[ERROR] gyp ERR! stack at PythonFinder.<anonymous> (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-gyp/lib/configure.js:406:16)
[ERROR] gyp ERR! stack at F (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:68:16)
[ERROR] gyp ERR! stack at E (/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:80:29)
[ERROR] gyp ERR! stack at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/which/which.js:89:16
[ERROR] gyp ERR! stack at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/index.js:42:5
[ERROR] gyp ERR! stack at /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/isexe/mode.js:8:5
[ERROR] gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
[ERROR] gyp ERR! System Linux 4.18.0-193.el8.x86_64
[ERROR] gyp ERR! command "/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node/node" "/home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
[ERROR] gyp ERR! cwd /home/ec2-user/apache-atlas-sources-2.0.0/dashboardv2/target/node_modules/node-sass
[ERROR] gyp ERR! node -v v8.9.0
[ERROR] gyp ERR! node-gyp -v v3.8.0
[ERROR] gyp ERR! not ok
[ERROR] Build failed with error code: 1
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 1
[ERROR] npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
[ERROR] npm ERR! Exit status 1
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the node-sass@4.14.1 postinstall script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /root/.npm/_logs/2020-10-20T11_08_17_814Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Atlas Server Build Tools 1.0 ................ SUCCESS [ 0.473 s]
[INFO] apache-atlas 2.0.0 ................................. SUCCESS [ 2.522 s]
[INFO] Apache Atlas Test Utility Tools .................... SUCCESS [ 5.744 s]
[INFO] Apache Atlas Integration ........................... SUCCESS [ 2.490 s]
[INFO] Apache Atlas Common ................................ SUCCESS [ 1.490 s]
[INFO] Apache Atlas Client ................................ SUCCESS [ 0.149 s]
[INFO] atlas-client-common ................................ SUCCESS [ 0.684 s]
[INFO] atlas-client-v1 .................................... SUCCESS [ 0.705 s]
[INFO] Apache Atlas Server API ............................ SUCCESS [ 0.992 s]
[INFO] Apache Atlas Notification .......................... SUCCESS [ 1.550 s]
[INFO] atlas-client-v2 .................................... SUCCESS [ 1.202 s]
[INFO] Apache Atlas Graph Database Projects ............... SUCCESS [ 0.109 s]
[INFO] Apache Atlas Graph Database API .................... SUCCESS [ 0.765 s]
[INFO] Graph Database Common Code ......................... SUCCESS [ 0.669 s]
[INFO] Apache Atlas JanusGraph-HBase2 Module .............. SUCCESS [ 1.012 s]
[INFO] Apache Atlas JanusGraph DB Impl .................... SUCCESS [ 5.742 s]
[INFO] Apache Atlas Graph Database Implementation Dependencies SUCCESS [ 3.221 s]
[INFO] Apache Atlas Authorization ......................... SUCCESS [ 1.340 s]
[INFO] Apache Atlas Repository ............................ SUCCESS [ 10.131 s]
[INFO] Apache Atlas UI .................................... FAILURE [ 27.601 s]
[INFO] Apache Atlas Web Application ....................... SKIPPED

Please let me know how to solve this issue.

 

Thanks,

Ashwin



--
This message was sent by Atlassian Jira
(v8.3.4#803005)