cubehouse / themeparks

Unofficial API for accessing ride wait times and schedules for Disneyland, Disney World, Universal Studios, and many more parks
MIT License
542 stars 125 forks source link

Build fails #137

Closed zpocbob closed 5 years ago

zpocbob commented 5 years ago

I'm attempting to build the project and it errors out. Could you please help? Thank you.

btw Sorry I didn't respond on the previous post I've been trying to get it to compile and then I would share my results.

0 info it worked if it ends with ok 1 verbose cli [ '/home/mat3rb0b/.nvm/versions/node/v10.14.0/bin/node', 1 verbose cli '/home/mat3rb0b/.nvm/versions/node/v10.14.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using npm@6.4.1 3 info using node@v10.14.0 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle themeparks@4.7.9~prebuild: themeparks@4.7.9 6 info lifecycle themeparks@4.7.9~build: themeparks@4.7.9 7 verbose lifecycle themeparks@4.7.9~build: unsafe-perm in lifecycle true 8 verbose lifecycle themeparks@4.7.9~build: PATH: /home/mat3rb0b/.nvm/versions/node/v10.14.0/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/mat3rb0b/node_modules/themeparks/node_modules/.bin:/home/mat3rb0b/node_modules/.bin:/home/mat3rb0b/.nvm/versions/node/v10.14.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games 9 verbose lifecycle themeparks@4.7.9~build: CWD: /home/mat3rb0b/node_modules/themeparks 10 silly lifecycle themeparks@4.7.9~build: Args: [ '-c', 10 silly lifecycle 'babel lib --presets es2015,stage-0 --out-dir dist --source-maps' ] 11 silly lifecycle themeparks@4.7.9~build: Returned: code: 2 signal: null 12 info lifecycle themeparks@4.7.9~build: Failed to exec build script 13 verbose stack Error: themeparks@4.7.9 build: babel lib --presets es2015,stage-0 --out-dir dist --source-maps 13 verbose stack Exit status 2 13 verbose stack at EventEmitter. (/home/mat3rb0b/.nvm/versions/node/v10.14.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16) 13 verbose stack at EventEmitter.emit (events.js:182:13) 13 verbose stack at ChildProcess. (/home/mat3rb0b/.nvm/versions/node/v10.14.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:182:13) 13 verbose stack at maybeClose (internal/child_process.js:962:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5) 14 verbose pkgid themeparks@4.7.9 15 verbose cwd /home/mat3rb0b/node_modules/themeparks 16 verbose Linux 3.2.61-grsec-modsign 17 verbose argv "/home/mat3rb0b/.nvm/versions/node/v10.14.0/bin/node" "/home/mat3rb0b/.nvm/versions/node/v10.14.0/bin/npm" "run" "build" 18 verbose node v10.14.0 19 verbose npm v6.4.1 20 error code ELIFECYCLE 21 error errno 2 22 error themeparks@4.7.9 build: babel lib --presets es2015,stage-0 --out-dir dist --source-maps 22 error Exit status 2 23 error Failed at the themeparks@4.7.9 build script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 2, true ]

cubehouse commented 5 years ago

What OS version are you using? And can you share your package.json and what command you are running to get this?

zpocbob commented 5 years ago

Ubuntu 14 Ran npm run build

{ "requires": true, "lockfileVersion": 1, "dependencies": { "@babel/code-frame": { "dev": true, "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", "requires": { "@babel/highlight": "^7.0.0" }, "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", "version": "7.0.0" }, "@babel/core": { "dependencies": { "debug": { "dev": true, "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==", "requires": { "ms": "^2.1.1" }, "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz", "version": "4.1.0" }, "ms": { "dev": true, "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", "version": "2.1.1" } }, "dev": true, "integrity": "sha512-Hz6PJT6e44iUNpAn8AoyAs6B3bl60g7MJQaI0rZEar6ECzh6+srYO1xlIdssio34mPaUtAb1y+XlkkSJzok3yw==", "requires": { "@babel/code-frame": "^7.0.0", "@babel/generator": "^7.1.6", "@babel/helpers": "^7.1.5", "@babel/parser": "^7.1.6", "@babel/template": "^7.1.2", "@babel/traverse": "^7.1.6", "@babel/types": "^7.1.6", "convert-source-map": "^1.1.0", "debug": "^4.1.0", "json5": "^2.1.0", "lodash": "^4.17.10", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" }, "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.1.6.tgz", "version": "7.1.6" }, "@babel/generator": { "dev": true, "integrity": "sha512-brwPBtVvdYdGxtenbQgfCdDPmtkmUBZPjUoK5SXJEBuHaA5BCubh9ly65fzXz7R6o5rA76Rs22ES8Z+HCc0YIQ==", "requires": { "@babel/types": "^7.1.6", "jsesc": "^2.5.1", "lodash": "^4.17.10", "source-map": "^0.5.0", "trim-right": "^1.0.1" }, "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.1.6.tgz", "version": "7.1.6" }, "@babel/helper-function-name": { "dev": true, "integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==", "requires": { "@babel/helper-get-function-arity": "^7.0.0", "@babel/template": "^7.1.0", "@babel/types": "^7.0.0" }, "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz", "version": "7.1.0" }, "@babel/helper-get-function-arity": { "dev": true, "integrity": "sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ==", "requires": { "@babel/types": "^7.0.0" }, "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz", "version": "7.0.0" }, "@babel/helper-split-export-declaration": { "dev": true, "integrity": "sha512-MXkOJqva62dfC0w85mEf/LucPPS/1+04nmmRMPEBUB++hiiThQ2zPtX/mEWQ3mtzCEjIJvPY8nuwxXtQeQwUag==", "requires": { "@babel/types": "^7.0.0" }, "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0.tgz", "version": "7.0.0" }, "@babel/helpers": { "dev": true, "integrity": "sha512-2jkcdL02ywNBry1YNFAH/fViq4fXG0vdckHqeJk+75fpQ2OH+Az6076tX/M0835zA45E0Cqa6pV5Kiv9YOqjEg==", "requires": { "@babel/template": "^7.1.2", "@babel/traverse": "^7.1.5", "@babel/types": "^7.1.5" }, "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.1.5.tgz", "version": "7.1.5" }, "@babel/highlight": { "dev": true, "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", "requires": { "chalk": "^2.0.0", "esutils": "^2.0.2", "js-tokens": "^4.0.0" }, "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", "version": "7.0.0" }, "@babel/node": { "dev": true, "integrity": "sha512-mKbN8Bb1TzH9YnKMWMhBRX+o5MVJHtUSalNcsiGa4FRgVfY7ozqkbttuIDWqeXxZ3rwI9ZqmCUr9XsPV2VYlSw==", "requires": { "@babel/polyfill": "^7.0.0", "@babel/register": "^7.0.0", "commander": "^2.8.1", "fs-readdir-recursive": "^1.0.0", "lodash": "^4.17.10", "output-file-sync": "^2.0.0", "v8flags": "^3.1.1" }, "resolved": "https://registry.npmjs.org/@babel/node/-/node-7.0.0.tgz", "version": "7.0.0" }, "@babel/parser": { "dev": true, "integrity": "sha512-dWP6LJm9nKT6ALaa+bnL247GHHMWir3vSlZ2+IHgHgktZQx0L3Uvq2uAWcuzIe+fujRsYWBW2q622C5UvGK9iQ==", "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.1.6.tgz", "version": "7.1.6" }, "@babel/polyfill": { "dev": true, "integrity": "sha512-dnrMRkyyr74CRelJwvgnnSUDh2ge2NCTyHVwpOdvRMHtJUyxLtMAfhBN3s64pY41zdw0kgiLPh6S20eb1NcX6Q==", "requires": { "core-js": "^2.5.7", "regenerator-runtime": "^0.11.1" }, "resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.0.0.tgz", "version": "7.0.0" }, "@babel/register": { "dev": true, "integrity": "sha512-f/+CRmaCe7rVEvcvPvxeA8j5aJhHC3aJie7YuqcMDhUOuyWLA7J/aNrTaHIzoWPEhpHA54mec4Mm8fv8KBlv3g==", "requires": { "core-js": "^2.5.7", "find-cache-dir": "^1.0.0", "home-or-tmp": "^3.0.0", "lodash": "^4.17.10", "mkdirp": "^0.5.1", "pirates": "^4.0.0", "source-map-support": "^0.5.9" }, "resolved": "https://registry.npmjs.org/@babel/register/-/register-7.0.0.tgz", "version": "7.0.0" }, "@babel/template": { "dev": true, "integrity": "sha512-SY1MmplssORfFiLDcOETrW7fCLl+PavlwMh92rrGcikQaRq4iWPVH0MpwPpY3etVMx6RnDjXtr6VZYr/IbP/Ag==", "requires": { "@babel/code-frame": "^7.0.0", "@babel/parser": "^7.1.2", "@babel/types": "^7.1.2" }, "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.1.2.tgz", "version": "7.1.2" }, "@babel/traverse": { "dependencies": { "debug": { "dev": true, "integrity": "sha512-heNPJUJIqC+xB6ayLAMHaIrmN9HKa7aQO8MGqKpvCA+uJYVcvR6l5kgdrhRuwPFHU7P5/A1w0BjByPHwpfTDKg==", "requires": { "ms": "^2.1.1" }, "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.0.tgz", "version": "4.1.0" }, "ms": { "dev": true, "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", "version": "2.1.1" } }, "dev": true, "integrity": "sha512-CXedit6GpISz3sC2k2FsGCUpOhUqKdyL0lqNrImQojagnUMXf8hex4AxYFRuMkNGcvJX5QAFGzB5WJQmSv8SiQ==", "requires": { "@babel/code-frame": "^7.0.0", "@babel/generator": "^7.1.6", "@babel/helper-function-name": "^7.1.0", "@babel/helper-split-export-declaration": "^7.0.0", "@babel/parser": "^7.1.6", "@babel/types": "^7.1.6", "debug": "^4.1.0", "globals": "^11.1.0", "lodash": "^4.17.10" }, "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.1.6.tgz", "version": "7.1.6" }, "@babel/types": { "dev": true, "integrity": "sha512-DMiUzlY9DSjVsOylJssxLHSgj6tWM9PRFJOGW/RaOglVOK9nzTxoOMfTfRQXGUCUQ/HmlG2efwC+XqUEJ5ay4w==", "requires": { "esutils": "^2.0.2", "lodash": "^4.17.10", "to-fast-properties": "^2.0.0" }, "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.1.6.tgz", "version": "7.1.6" }, "ansi-styles": { "dev": true, "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "requires": { "color-convert": "^1.9.0" }, "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", "version": "3.2.1" }, "buffer-from": { "dev": true, "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", "version": "1.1.1" }, "chalk": { "dev": true, "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", "requires": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", "version": "2.4.1" }, "color-convert": { "dev": true, "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "requires": { "color-name": "1.1.3" }, "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", "version": "1.9.3" }, "color-name": { "dev": true, "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "version": "1.1.3" }, "commander": { "dev": true, "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==", "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", "version": "2.19.0" }, "commondir": { "dev": true, "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", "version": "1.0.1" }, "convert-source-map": { "dev": true, "integrity": "sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==", "requires": { "safe-buffer": "~5.1.1" }, "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.6.0.tgz", "version": "1.6.0" }, "core-js": { "dev": true, "integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", "version": "2.5.7" }, "escape-string-regexp": { "dev": true, "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "version": "1.0.5" }, "esutils": { "dev": true, "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", "version": "2.0.2" }, "find-cache-dir": { "dev": true, "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", "requires": { "commondir": "^1.0.1", "make-dir": "^1.0.0", "pkg-dir": "^2.0.0" }, "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", "version": "1.0.0" }, "find-up": { "dev": true, "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "requires": { "locate-path": "^2.0.0" }, "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", "version": "2.1.0" }, "fs-readdir-recursive": { "dev": true, "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", "version": "1.1.0" }, "globals": { "dev": true, "integrity": "sha512-5cJVtyXWH8PiJPVLZzzoIizXx944O4OmRro5MWKx5fT4MgcN7OfaMutPeaTdJCCURwbWdhhcCWcKIffPnmTzBg==", "resolved": "https://registry.npmjs.org/globals/-/globals-11.9.0.tgz", "version": "11.9.0" }, "graceful-fs": { "dev": true, "integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz", "version": "4.1.15" }, "has-flag": { "dev": true, "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", "version": "3.0.0" }, "home-or-tmp": { "dev": true, "integrity": "sha1-V6j+JM8zzdUkhgoVgh3cJchmcfs=", "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz", "version": "3.0.0" }, "homedir-polyfill": { "dev": true, "integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=", "requires": { "parse-passwd": "^1.0.0" }, "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz", "version": "1.0.1" }, "is-plain-obj": { "dev": true, "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", "version": "1.1.0" }, "js-tokens": { "dev": true, "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "version": "4.0.0" }, "jsesc": { "dev": true, "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", "version": "2.5.2" }, "json5": { "dev": true, "integrity": "sha512-8Mh9h6xViijj36g7Dxi+Y4S6hNGV96vcJZr/SrlHh1LR/pEn/8j/+qIBbs44YKl69Lrfctp4QD+AdWLTMqEZAQ==", "requires": { "minimist": "^1.2.0" }, "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.0.tgz", "version": "2.1.0" }, "locate-path": { "dev": true, "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "requires": { "p-locate": "^2.0.0", "path-exists": "^3.0.0" }, "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", "version": "2.0.0" }, "lodash": { "dev": true, "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz", "version": "4.17.11" }, "make-dir": { "dev": true, "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", "requires": { "pify": "^3.0.0" }, "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", "version": "1.3.0" }, "minimist": { "dev": true, "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "resolved": "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", "version": "1.2.0" }, "mkdirp": { "dependencies": { "minimist": { "dev": true, "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", "version": "0.0.8" } }, "dev": true, "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "requires": { "minimist": "0.0.8" }, "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "version": "0.5.1" }, "node-modules-regexp": { "dev": true, "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", "resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz", "version": "1.0.0" }, "output-file-sync": { "dev": true, "integrity": "sha512-mDho4qm7WgIXIGf4eYU1RHN2UU5tPfVYVSRwDJw0uTmj35DQUt/eNp19N7v6T3SrR0ESTEf2up2CGO73qI35zQ==", "requires": { "graceful-fs": "^4.1.11", "is-plain-obj": "^1.1.0", "mkdirp": "^0.5.1" }, "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-2.0.1.tgz", "version": "2.0.1" }, "p-limit": { "dev": true, "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "requires": { "p-try": "^1.0.0" }, "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", "version": "1.3.0" }, "p-locate": { "dev": true, "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "requires": { "p-limit": "^1.1.0" }, "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", "version": "2.0.0" }, "p-try": { "dev": true, "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", "version": "1.0.0" }, "parse-passwd": { "dev": true, "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", "version": "1.0.0" }, "path-exists": { "dev": true, "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", "version": "3.0.0" }, "path-parse": { "dev": true, "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", "version": "1.0.6" }, "pify": { "dev": true, "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "version": "3.0.0" }, "pirates": { "dev": true, "integrity": "sha512-8t5BsXy1LUIjn3WWOlOuFDuKswhQb/tkak641lvBgmPOBUQHXveORtlMCp6OdPV1dtuTaEahKA8VNz6uLfKBtA==", "requires": { "node-modules-regexp": "^1.0.0" }, "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.0.tgz", "version": "4.0.0" }, "pkg-dir": { "dev": true, "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "requires": { "find-up": "^2.1.0" }, "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", "version": "2.0.0" }, "regenerator-runtime": { "dev": true, "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", "version": "0.11.1" }, "resolve": { "dev": true, "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", "requires": { "path-parse": "^1.0.5" }, "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", "version": "1.8.1" }, "safe-buffer": { "dev": true, "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "version": "5.1.2" }, "semver": { "dev": true, "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==", "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz", "version": "5.6.0" }, "source-map": { "dev": true, "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", "version": "0.5.7" }, "source-map-support": { "dependencies": { "source-map": { "dev": true, "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "version": "0.6.1" } }, "dev": true, "integrity": "sha512-gR6Rw4MvUlYy83vP0vxoVNzM6t8MUXqNuRsuBmBHQDu1Fh6X015FrLdgoDKcNdkwGubozq0P4N0Q37UyFVr1EA==", "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" }, "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.9.tgz", "version": "0.5.9" }, "supports-color": { "dev": true, "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "requires": { "has-flag": "^3.0.0" }, "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", "version": "5.5.0" }, "themeparks": "^4.7.9", "to-fast-properties": { "dev": true, "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", "version": "2.0.0" }, "trim-right": { "dev": true, "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", "version": "1.0.1" }, "v8flags": { "dev": true, "integrity": "sha512-iw/1ViSEaff8NJ3HLyEjawk/8hjJib3E7pvG4pddVXfUg1983s3VGsiClDjhK64MQVDGqc1Q8r18S4VKQZS9EQ==", "requires": { "homedir-polyfill": "^1.0.1" }, "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.1.tgz", "version": "3.1.1" } } }

zpocbob commented 5 years ago

{ "_from": "themeparks", "_id": "themeparks@4.7.9", "_inBundle": false, "_integrity": "sha512-TKxY4MRATESCJnZ+lArm/SWASKi9zQzmfU9/in+PoG1tGhZrCWf4F588NtoxpJvikPPVuGEy8ZgM829tDETcJg==", "_location": "/themeparks", "_phantomChildren": { "source-map": "0.5.7" }, "_requested": { "type": "tag", "registry": true, "raw": "themeparks", "name": "themeparks", "escapedName": "themeparks", "rawSpec": "", "saveSpec": null, "fetchSpec": "latest" }, "_requiredBy": [ "#USER", "/" ], "_resolved": "https://registry.npmjs.org/themeparks/-/themeparks-4.7.9.tgz", "_shasum": "007238559d17818b2e4d8d40262d412dd6791717", "_spec": "themeparks", "_where": "/home/mat3rb0b", "author": { "name": "Jamie Holding", "email": "me@jamie.holdings" }, "bugs": { "url": "https://github.com/cubehouse/themeparks/issues" }, "bundleDependencies": false, "dependencies": { "bluebird": "^3.5.1", "cache-manager": "^2.6.0", "cheerio": "^1.0.0-rc.2", "cookie": "^0.3.1", "https-proxy-agent": "^2.2.0", "moment": "^2.20.1", "moment-timezone": "^0.5.14", "needle": "^2.1.0", "random-useragent": "^0.3.1", "relaxed-json": "^1.0.1", "socks-proxy-agent": "^3.0.1", "source-map-support": "^0.4.18", "uuid": "^3.1.0", "xml2js": "^0.4.19", "yauzl": "^2.9.1" }, "deprecated": false, "description": "Get Theme Park Wait Times and Opening Times", "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.6", "@babel/preset-env": "^7.1.6", "babel-cli": "^6.26.0", "babel-core": "^6.26.3", "babel-loader": "^8.0.4", "babel-polyfill": "^6.26.0", "babel-preset-es2015": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "eslint": "^4.19.1", "ink-docstrap": "^1.3.2", "jsdoc": "^3.5.5", "mocha": "^5.2.0", "trevor": "^2.3.0", "tz-lookup": "^6.1.3", "webpack": "^4.26.1" }, "engines": { "node": ">=0.12", "npm": ">=2" }, "homepage": "https://github.com/cubehouse/themeparks#readme", "license": "MIT", "main": "./dist/index.js", "name": "themeparks", "repository": { "type": "git", "url": "git://github.com/cubehouse/themeparks.git" }, "scripts": { "build": "babel lib --presets es2015,stage-0 --out-dir dist --source-maps", "docs": "node dev/UpdateREADME.js && node_modules/.bin/jsdoc -c docs.conf.json -R README.md -t node_modules/ink-docstrap/template -r -d docs", "lint": "eslint ./lib/**", "postinstall": "npm dedupe", "prepare": "npm run build", "test": "npm run build && node_modules/.bin/mocha dist/test.js", "testdev": "mocha lib/test.js", "testonline": "mocha lib/testonline.js", "travislocal": "trevor" }, "version": "4.7.9" }

zpocbob commented 5 years ago

I didn't see anything in the documentation about installing Babel. Could you provide what command line script you used to install it?

cubehouse commented 5 years ago

I have no idea what that file is I'm afraid, that doesn't look like a normal package file to me.

To install, you should run npm install themeparks

zpocbob commented 5 years ago

I used npm install themeparks --save to install it but I'm unable to "build" it using npm run build

zpocbob commented 5 years ago

Tried to build it on my windows laptop and got this..

C:\nodejs\node_modules\themeparks>npm run build

themeparks@4.7.9 build C:\nodejs\node_modules\themeparks babel lib --presets es2015,stage-0 --out-dir dist --source-maps

'babel' is not recognized as an internal or external command, operable program or batch file.

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js" "run" "build" npm ERR! node v6.9.2 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! themeparks@4.7.9 build: babel lib --presets es2015,stage-0 --out-dir d ist --source-maps npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the themeparks@4.7.9 build script 'babel lib --presets es2015 ,stage-0 --out-dir dist --source-maps'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the themeparks package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! babel lib --presets es2015,stage-0 --out-dir dist --source-maps npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs themeparks npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls themeparks npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\nodejs\node_modules\themeparks\npm-debug.log

cubehouse commented 5 years ago

Why are you trying to build the installed module? There is no need. Once you have it installed, you can access the script like any other npm module using "require('themeparks')"

cubehouse commented 5 years ago

Hi, the docs say to build it if you're planning on doing some Development on the library, in which can you would have cloned the Git repo from GitHub. I expect you're not intending to do development, so you should follow the steps at the top of the README and not follow the Development section at the bottom.