I followed instructions from README and got error during preparation of development environment:
docker-compose build gulp
/app/node_modules/openlayers/node_modules/closure-util/node_modules/get-down/node_modules/request/node_modules/tough-cookie/lib/cookie.js:40
const { fromCallback } = require("universalify");
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/app/node_modules/openlayers/node_modules/closure-util/node_modules/get-down/node_modules/request/lib/cookies.js:3:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
npm ERR! Linux 4.19.0-12-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--loglevel=warn"
npm ERR! node v4.9.1
npm ERR! npm v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! closure-util@1.15.1 postinstall: `node ./bin/closure-util.js update`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the closure-util@1.15.1 postinstall script 'node ./bin/closure-util.js update'.
npm ERR! This is most likely a problem with the closure-util package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/closure-util.js update
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs closure-util
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls closure-util
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /app/npm-debug.log
ERROR: Service 'gulp' failed to build: The command '/bin/sh -c npm install --loglevel=warn' returned a non-zero code: 1
stevo@stone:/media/data/docker/OSM/online_chart_ol3$
I followed instructions from README and got error during preparation of development environment:
see build log for details: build.log