Delivery ID: 37276df0-ae6d-11e9-9652-1109dfaa8db8 Deployment ID: 158983414 Environment: test Repository: RoboJackets/apiary Commit: e6c15e2c7464ae0c5ccfb0483db7dd71fe61ee1b # Executing pre-deploy-hook.sh + cd /var/www/apiary/test + php artisan down '--message=An app upgrade is in progress. Please try again in a few minutes.' --retry=60 Application is now in maintenance mode. # Executing git operations + '[' '!' -d /var/www/apiary/test/ ']' + cd /var/www/apiary/test/ + git remote set-url origin https://x-access-token:redacted@github.com/RoboJackets/apiary.git + git fetch From https://github.com/RoboJackets/apiary * [new branch] renovate/sass-1.x -> origin/renovate/sass-1.x + git -c advice.detachedHead=false checkout e6c15e2c7464ae0c5ccfb0483db7dd71fe61ee1b Previous HEAD position was 07fb4eb Allow user search by github username HEAD is now at e6c15e2 Update dependency sass to v1.22.8 # Executing post-deploy-hook.sh + cd /var/www/apiary/test + composer install --no-interaction --no-progress --no-suggest --no-dev --optimize-autoloader --classmap-authoritative Loading composer repositories with package information Installing dependencies from lock file Nothing to install or update Generating optimized autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover --ansi Discovered Package: barryvdh/laravel-ide-helper Discovered Package: chelout/laravel-relationship-events Discovered Package: fideloper/proxy Discovered Package: laravel/horizon Discovered Package: laravel/nova Discovered Package: laravel/slack-notification-channel Discovered Package: laravel/socialite Discovered Package: laravel/tinker Discovered Package: maatwebsite/excel Discovered Package: maatwebsite/laravel-nova-excel Discovered Package: nesbot/carbon Discovered Package: spatie/laravel-failed-job-monitor Discovered Package: spatie/laravel-permission Discovered Package: subfission/cas Discovered Package: uxweb/sweet-alert Discovered Package: vyuldashev/nova-permission Package manifest generated successfully. + php artisan migrate --no-interaction Nothing to migrate. + php artisan config:cache --no-interaction Configuration cache cleared! Configuration cached successfully! + php artisan view:clear --no-interaction Compiled views cleared! + php artisan route:clear --no-interaction Route cache cleared! + php artisan nova:publish --no-interaction Publishing complete. Copied Directory [/vendor/laravel/nova/public] To [/public/vendor/nova] Publishing complete. Copied Directory [/vendor/laravel/nova/resources/lang] To [/resources/lang/vendor/nova] Publishing complete. Copied Directory [/vendor/laravel/nova/resources/views/partials] To [/resources/views/vendor/nova/partials] Publishing complete. Compiled views cleared! + php artisan horizon:assets --no-interaction Copied Directory [/vendor/laravel/horizon/public] To [/public/vendor/horizon] Publishing complete. + php artisan cache:clear --no-interaction Application cache cleared! + npm ci --no-progress npm WARN prepare removing existing node_modules/ before installation > sweetalert2@8.14.0 postinstall /var/www/apiary/test/node_modules/sweetalert2 > node bin/postinstall.js  Has SweetAlert2 helped you create amazing applications? You can show your <3 and support by making a donation:  > https://sweetalert2.github.io/#donations  > fsevents@1.2.9 install /var/www/apiary/test/node_modules/fsevents > node install > core-js-pure@3.1.4 postinstall /var/www/apiary/test/node_modules/core-js-pure > node scripts/postinstall || echo "ignore" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -) added 1024 packages in 11.937s + npm run production --no-progress > @ production /var/www/apiary/test > cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js ERROR Failed to compile with 4 errors7:47:31 PM error in ./resources/sass/app.scss Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) at runLoaders (/var/www/apiary/test/node_modules/webpack/lib/NormalModule.js:302:20) at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at render (/var/www/apiary/test/node_modules/sass-loader/lib/loader.js:52:13) at Function.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:53423:16) at _render_closure1.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:33244:12) at _RootZone.runBinary$3$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19644:18) at _RootZone.runBinary$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19648:19) at _FutureListener.handleError$1 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18116:19) at _Future__propagateToListeners_handleError.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18401:40) at Object._Future__propagateToListeners (/var/www/apiary/test/node_modules/sass/sass.dart.js:3460:88) at _Future._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18237:9) at _SyncCompleter._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18103:19) at _SyncCompleter.completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18072:12) at _AsyncAwaitCompleter_completeError_closure.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17623:29) at Object._microtaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3510:21) at StaticClosure._startMicrotaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3516:11) at _AsyncRun__scheduleImmediateJsOverride_internalCallback.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17530:21) at invokeClosure (/var/www/apiary/test/node_modules/sass/sass.dart.js:1343:26) at Immediate._onImmediate (/var/www/apiary/test/node_modules/sass/sass.dart.js:1364:18) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) error in ./resources/sass/nova/global.scss Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) at runLoaders (/var/www/apiary/test/node_modules/webpack/lib/NormalModule.js:302:20) at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at render (/var/www/apiary/test/node_modules/sass-loader/lib/loader.js:52:13) at Function.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:53423:16) at _render_closure1.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:33244:12) at _RootZone.runBinary$3$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19644:18) at _RootZone.runBinary$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19648:19) at _FutureListener.handleError$1 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18116:19) at _Future__propagateToListeners_handleError.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18401:40) at Object._Future__propagateToListeners (/var/www/apiary/test/node_modules/sass/sass.dart.js:3460:88) at _Future._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18237:9) at _SyncCompleter._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18103:19) at _SyncCompleter.completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18072:12) at _AsyncAwaitCompleter_completeError_closure.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17623:29) at Object._microtaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3510:21) at StaticClosure._startMicrotaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3516:11) at _AsyncRun__scheduleImmediateJsOverride_internalCallback.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17530:21) at invokeClosure (/var/www/apiary/test/node_modules/sass/sass.dart.js:1343:26) at Immediate._onImmediate (/var/www/apiary/test/node_modules/sass/sass.dart.js:1364:18) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) error in ./resources/sass/app.scss Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) @ ./resources/sass/app.scss 2:14-255 error in ./resources/sass/nova/global.scss Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) @ ./resources/sass/nova/global.scss 2:14-270 2 assets ERROR in ./resources/sass/app.scss Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) at runLoaders (/var/www/apiary/test/node_modules/webpack/lib/NormalModule.js:302:20) at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at render (/var/www/apiary/test/node_modules/sass-loader/lib/loader.js:52:13) at Function.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:53423:16) at _render_closure1.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:33244:12) at _RootZone.runBinary$3$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19644:18) at _RootZone.runBinary$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19648:19) at _FutureListener.handleError$1 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18116:19) at _Future__propagateToListeners_handleError.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18401:40) at Object._Future__propagateToListeners (/var/www/apiary/test/node_modules/sass/sass.dart.js:3460:88) at _Future._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18237:9) at _SyncCompleter._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18103:19) at _SyncCompleter.completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18072:12) at _AsyncAwaitCompleter_completeError_closure.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17623:29) at Object._microtaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3510:21) at StaticClosure._startMicrotaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3516:11) at _AsyncRun__scheduleImmediateJsOverride_internalCallback.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17530:21) at invokeClosure (/var/www/apiary/test/node_modules/sass/sass.dart.js:1343:26) at Immediate._onImmediate (/var/www/apiary/test/node_modules/sass/sass.dart.js:1364:18) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) @ ./resources/sass/app.scss ERROR in ./resources/sass/nova/global.scss Module build failed (from ./node_modules/css-loader/index.js): ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) at runLoaders (/var/www/apiary/test/node_modules/webpack/lib/NormalModule.js:302:20) at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:367:11 at /var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:233:18 at context.callback (/var/www/apiary/test/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at render (/var/www/apiary/test/node_modules/sass-loader/lib/loader.js:52:13) at Function.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:53423:16) at _render_closure1.call$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:33244:12) at _RootZone.runBinary$3$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19644:18) at _RootZone.runBinary$3 (/var/www/apiary/test/node_modules/sass/sass.dart.js:19648:19) at _FutureListener.handleError$1 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18116:19) at _Future__propagateToListeners_handleError.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18401:40) at Object._Future__propagateToListeners (/var/www/apiary/test/node_modules/sass/sass.dart.js:3460:88) at _Future._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18237:9) at _SyncCompleter._completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18103:19) at _SyncCompleter.completeError$2 (/var/www/apiary/test/node_modules/sass/sass.dart.js:18072:12) at _AsyncAwaitCompleter_completeError_closure.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17623:29) at Object._microtaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3510:21) at StaticClosure._startMicrotaskLoop (/var/www/apiary/test/node_modules/sass/sass.dart.js:3516:11) at _AsyncRun__scheduleImmediateJsOverride_internalCallback.call$0 (/var/www/apiary/test/node_modules/sass/sass.dart.js:17530:21) at invokeClosure (/var/www/apiary/test/node_modules/sass/sass.dart.js:1343:26) at Immediate._onImmediate (/var/www/apiary/test/node_modules/sass/sass.dart.js:1364:18) at runCallback (timers.js:794:20) at tryOnImmediate (timers.js:752:5) at processImmediate [as _immediateCallback] (timers.js:729:5) @ ./resources/sass/nova/global.scss ERROR in ./resources/sass/app.scss (./node_modules/css-loader??ref--5-2!./node_modules/postcss-loader/src??postcss0!./node_modules/resolve-url-loader??ref--5-4!./node_modules/sass-loader/lib/loader.js??ref--5-5!./resources/sass/app.scss) Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) @ ./resources/sass/app.scss 2:14-255 ERROR in ./resources/sass/nova/global.scss (./node_modules/css-loader??ref--6-2!./node_modules/postcss-loader/src??postcss1!./node_modules/resolve-url-loader??ref--6-4!./node_modules/sass-loader/lib/loader.js??ref--6-5!./resources/sass/nova/global.scss) Module build failed (from ./node_modules/sass-loader/lib/loader.js): NoSuchMethodError: method not found: 'pathToFileURL' (url.pathToFileURL is not a function) @ ./resources/sass/nova/global.scss 2:14-270 npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! @ production: `cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js` npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the @ production 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! /var/www/.npm/_logs/2019-07-24T23_47_31_751Z-debug.log # The post-deploy-hook encountered an error.