prestodb - Build error while trying to install airpal -
i'm trying airpal going , have gotten to:
git clone https://github.com/airbnb/airpal.git sudo apt-get install npm nodejs-legacy ./gradlew clean shadowjar
and following message:
:installassets > contextify@0.1.13 install /home/carl/presto/airpal/src/main/resources/assets/node_modules/jest-cli/node_modules/jsdom/node_modules/contextify > node-gyp rebuild usage: gyp_main.py [options ...] [build_file ...] gyp_main.py: error: no such option: --no-parallel gyp err! configure error gyp err! stack error: `gyp` failed exit code: 2 gyp err! stack @ childprocess.oncpexit (/home/carl/.gradle/nodejs/node-v0.10.33-linux- gyp err! system linux 3.13.0-24-generic gyp err! command "node" "/home/carl/.gradle/nodejs/node-v0.10.33-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp err! cwd /home/carl/presto/airpal/src/main/resources/assets/node_modules/jest-cli/node_modules/jsdom/node_modules/contextify gyp err! node -v v0.10.33 gyp err! node-gyp -v v1.0.1 gyp err! not ok npm err! contextify@0.1.13 install: `node-gyp rebuild` npm err! exit status 1 npm err! npm err! failed @ contextify@0.1.13 install script. npm err! problem contextify package, npm err! not npm itself. :installassets failed failure: build failed exception. build failed
what missing? have few suspicions --no-parallel error, , attempted run node-gyp rebuild got got binding.gyp file not found error. end of question. following text aims satisfy so's code-to-detail ratio.
i'm not familiar node or node-gyp, i'm hoping can me out. i've removed majority of stacktrace within ratio, i'm worried losing context removing much.
seems few people having issue or similar. check out these points may solve issue. https://github.com/airbnb/airpal/issues/113
i altered "browser-sync": "~2.6.5"
in src/main/resources/assets/package.json
did trick me.