rails / webpacker

Use Webpack to manage app-like JavaScript modules in Rails
MIT License
5.31k stars 1.47k forks source link

Why does the error "Precompiling assets failed" appear? #1168

Closed afuno closed 6 years ago

afuno commented 6 years ago

Hello.

I suddenly began to receive error when deploy. For several days now I can not understand what's wrong.

First I tried to fix my Rails application (configuration). But today I created a new application:

rails new MyNewApp --webpack=vue

And then I restored some files: views, models, controllers, javascript (for webpack) and so on.

It is worthwhile to clarify that locally I have always compiled (javascript for webpack) everything. But on the server I was getting an error.

I do not have any custom settings for Webpack. Just what the team generated, which I showed above.

But there are new files that I created myself:

.babelrc:

{
  "presets": [
    ["env", {
      "modules": false,
      "targets": {
        "browsers": ["> 1%", "last 2 versions", "not ie <= 10"]
      }
    }],
    "stage-2"
  ],
  "plugins": [
    "transform-runtime",
    ["module-resolver", {
      "root": ["./"],
      "alias": {
        "app_assets": "./app/assets",
        "vendor_assets": "./vendor/assets"
      }
    }]
  ],
  "env": {
    "test": {
      "presets": ["env", "stage-2"],
      "plugins": ["istanbul"]
    }
  }
}

.postcssrc.yml:

plugins:
  postcss-import: {}
  postcss-cssnext: {}

By the way, about deploy. On the server I use Dokku. And deploy based on buildpacks.

.buildpacks:

https://github.com/heroku/heroku-buildpack-nodejs.git
https://github.com/heroku/heroku-buildpack-ruby.git

Now about the error. Here is the full log of deploy:

Pushing to dokku@111.222.333.444:my-app
remote: -----> Setting config vars        
remote:        GIT_REV:  f2fbd79db65d3993385289e5041177504806f08f        
remote: -----> Cleaning up...        
remote: -----> Building my-app from herokuish...        
remote: -----> Adding BUILD_ENV to build environment...        
remote:        -----> Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.        
remote:               Detected buildpacks: multi ruby nodejs        
remote:        -----> Multipack app detected        
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-nodejs.git        
remote: =====> Detected Framework: Node.js        
remote:                
remote: -----> Creating runtime environment        
remote:                
remote:        NPM_CONFIG_LOGLEVEL=error        
remote:        NPM_CONFIG_PRODUCTION=true        
remote:        NODE_VERBOSE=true        
remote:        NODE_ENV=production        
remote:        NODE_MODULES_CACHE=false        
remote:                
remote: -----> Installing binaries        
remote:        engines.node (package.json):  unspecified        
remote:        engines.npm (package.json):   unspecified (use default)        
remote:        engines.yarn (package.json):  unspecified (use default)        
remote:                
remote:        Resolving node version 8.x...        
remote:        Downloading and installing node 8.9.4...        
remote:        Using default npm version: 5.6.0        
remote:        Resolving yarn version 1.x...        
remote:        Downloading and installing yarn (1.3.2)...        
remote:        Installed yarn 1.3.2        
remote:                
remote: -----> Restoring cache        
remote:        Skipping cache restore (disabled)        
remote:                
remote: -----> Building dependencies        
remote:        Installing node modules (yarn.lock)        
remote:        yarn install v1.3.2        
remote:        [1/4] Resolving packages...        
remote:        [2/4] Fetching packages...        
remote:        info fsevents@1.1.3: The platform "linux" is incompatible with this module.        
remote:        info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.        
remote:        [3/4] Linking dependencies...        
remote:        warning "@rails/webpacker > postcss-cssnext@3.0.2" has unmet peer dependency "caniuse-lite@^1.0.30000697".        
remote:        warning " > vue-loader@13.7.0" has unmet peer dependency "css-loader@*".        
remote:        warning " > webpack-dev-server@2.10.1" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".        
remote:        warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".        
remote:        [4/4] Building fresh packages...        
remote:        Done in 23.27s.        
remote:                
remote: -----> Caching build        
remote:        Clearing previous node cache        
remote:        Skipping cache save (disabled by config)        
remote:                
remote: -----> Build succeeded!        
remote:                
remote:        yarn list v1.3.2        
remote:        ├─ @rails/webpacker@3.2.0        
remote:        ├─ @std/esm@0.19.1        
remote:        ├─ abbrev@1.1.1        
remote:        ├─ acorn-dynamic-import@2.0.2        
remote:        ├─ acorn@5.3.0        
remote:        ├─ ajv-keywords@2.1.1        
remote:        ├─ ajv@5.5.2        
remote:        ├─ align-text@0.1.4        
remote:        ├─ alphanum-sort@1.0.2        
remote:        ├─ amdefine@1.0.1        
remote:        ├─ ansi-regex@2.1.1        
remote:        ├─ ansi-styles@2.2.1        
remote:        ├─ anymatch@1.3.2        
remote:        ├─ aproba@1.2.0        
remote:        ├─ are-we-there-yet@1.1.4        
remote:        ├─ argparse@1.0.9        
remote:        ├─ arr-diff@2.0.0        
remote:        ├─ arr-flatten@1.1.0        
remote:        ├─ array-find-index@1.0.2        
remote:        ├─ array-unique@0.2.1        
remote:        ├─ asn1.js@4.9.2        
remote:        ├─ asn1@0.2.3        
remote:        ├─ assert-plus@1.0.0        
remote:        ├─ assert@1.4.1        
remote:        ├─ async-each@1.0.1        
remote:        ├─ async-foreach@0.1.3        
remote:        ├─ async@2.6.0        
remote:        ├─ asynckit@0.4.0        
remote:        ├─ autoprefixer@7.2.4        
remote:        ├─ aws-sign2@0.6.0        
remote:        ├─ aws4@1.6.0        
remote:        ├─ babel-code-frame@6.26.0        
remote:        ├─ babel-core@6.26.0        
remote:        ├─ babel-generator@6.26.0        
remote:        ├─ babel-helper-bindify-decorators@6.24.1        
remote:        ├─ babel-helper-builder-binary-assignment-operator-visitor@6.24.1        
remote:        ├─ babel-helper-call-delegate@6.24.1        
remote:        ├─ babel-helper-define-map@6.26.0        
remote:        ├─ babel-helper-explode-assignable-expression@6.24.1        
remote:        ├─ babel-helper-explode-class@6.24.1        
remote:        ├─ babel-helper-function-name@6.24.1        
remote:        ├─ babel-helper-get-function-arity@6.24.1        
remote:        ├─ babel-helper-hoist-variables@6.24.1        
remote:        ├─ babel-helper-optimise-call-expression@6.24.1        
remote:        ├─ babel-helper-regex@6.26.0        
remote:        ├─ babel-helper-remap-async-to-generator@6.24.1        
remote:        ├─ babel-helper-replace-supers@6.24.1        
remote:        ├─ babel-helpers@6.24.1        
remote:        ├─ babel-loader@7.1.2        
remote:        ├─ babel-messages@6.23.0        
remote:        ├─ babel-plugin-check-es2015-constants@6.22.0        
remote:        ├─ babel-plugin-module-resolver@3.0.0        
remote:        ├─ babel-plugin-syntax-async-functions@6.13.0        
remote:        ├─ babel-plugin-syntax-async-generators@6.13.0        
remote:        ├─ babel-plugin-syntax-class-properties@6.13.0        
remote:        ├─ babel-plugin-syntax-decorators@6.13.0        
remote:        ├─ babel-plugin-syntax-dynamic-import@6.18.0        
remote:        ├─ babel-plugin-syntax-exponentiation-operator@6.13.0        
remote:        ├─ babel-plugin-syntax-object-rest-spread@6.13.0        
remote:        ├─ babel-plugin-syntax-trailing-function-commas@6.22.0        
remote:        ├─ babel-plugin-transform-async-generator-functions@6.24.1        
remote:        ├─ babel-plugin-transform-async-to-generator@6.24.1        
remote:        ├─ babel-plugin-transform-class-properties@6.24.1        
remote:        ├─ babel-plugin-transform-decorators@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-arrow-functions@6.22.0        
remote:        ├─ babel-plugin-transform-es2015-block-scoped-functions@6.22.0        
remote:        ├─ babel-plugin-transform-es2015-block-scoping@6.26.0        
remote:        ├─ babel-plugin-transform-es2015-classes@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-computed-properties@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-destructuring@6.23.0        
remote:        ├─ babel-plugin-transform-es2015-duplicate-keys@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-for-of@6.23.0        
remote:        ├─ babel-plugin-transform-es2015-function-name@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-literals@6.22.0        
remote:        ├─ babel-plugin-transform-es2015-modules-amd@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-modules-commonjs@6.26.0        
remote:        ├─ babel-plugin-transform-es2015-modules-systemjs@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-modules-umd@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-object-super@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-parameters@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-shorthand-properties@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-spread@6.22.0        
remote:        ├─ babel-plugin-transform-es2015-sticky-regex@6.24.1        
remote:        ├─ babel-plugin-transform-es2015-template-literals@6.22.0        
remote:        ├─ babel-plugin-transform-es2015-typeof-symbol@6.23.0        
remote:        ├─ babel-plugin-transform-es2015-unicode-regex@6.24.1        
remote:        ├─ babel-plugin-transform-exponentiation-operator@6.24.1        
remote:        ├─ babel-plugin-transform-object-rest-spread@6.26.0        
remote:        ├─ babel-plugin-transform-regenerator@6.26.0        
remote:        ├─ babel-plugin-transform-runtime@6.23.0        
remote:        ├─ babel-plugin-transform-strict-mode@6.24.1        
remote:        ├─ babel-polyfill@6.26.0        
remote:        ├─ babel-preset-env@1.6.1        
remote:        ├─ babel-preset-stage-2@6.24.1        
remote:        ├─ babel-preset-stage-3@6.24.1        
remote:        ├─ babel-register@6.26.0        
remote:        ├─ babel-runtime@6.26.0        
remote:        ├─ babel-template@6.26.0        
remote:        ├─ babel-traverse@6.26.0        
remote:        ├─ babel-types@6.26.0        
remote:        ├─ babylon@6.18.0        
remote:        ├─ balanced-match@0.4.2        
remote:        ├─ base64-js@1.2.1        
remote:        ├─ bcrypt-pbkdf@1.0.1        
remote:        ├─ big.js@3.2.0        
remote:        ├─ binary-extensions@1.11.0        
remote:        ├─ block-stream@0.0.9        
remote:        ├─ bluebird@3.5.1        
remote:        ├─ bn.js@4.11.8        
remote:        ├─ boom@2.10.1        
remote:        ├─ brace-expansion@1.1.8        
remote:        ├─ braces@1.8.5        
remote:        ├─ brorand@1.1.0        
remote:        ├─ browserify-aes@1.1.1        
remote:        ├─ browserify-cipher@1.0.0        
remote:        ├─ browserify-des@1.0.0        
remote:        ├─ browserify-rsa@4.0.1        
remote:        ├─ browserify-sign@4.0.4        
remote:        ├─ browserify-zlib@0.2.0        
remote:        ├─ browserslist@2.11.1        
remote:        ├─ buffer-xor@1.0.3        
remote:        ├─ buffer@4.9.1        
remote:        ├─ builtin-modules@1.1.1        
remote:        ├─ builtin-status-codes@3.0.0        
remote:        ├─ cacache@10.0.2        
remote:        ├─ camelcase-keys@2.1.0        
remote:        ├─ camelcase@3.0.0        
remote:        ├─ caniuse-api@2.0.0        
remote:        ├─ caniuse-db@1.0.30000790        
remote:        ├─ caniuse-lite@1.0.30000790        
remote:        ├─ case-sensitive-paths-webpack-plugin@2.1.1        
remote:        ├─ caseless@0.12.0        
remote:        ├─ center-align@0.1.3        
remote:        ├─ chalk@1.1.3        
remote:        ├─ chokidar@1.7.0        
remote:        ├─ chownr@1.0.1        
remote:        ├─ cipher-base@1.0.4        
remote:        ├─ clap@1.2.3        
remote:        ├─ cliui@3.2.0        
remote:        ├─ clone-deep@0.3.0        
remote:        ├─ clone@1.0.3        
remote:        ├─ co@4.6.0        
remote:        ├─ coa@1.0.4        
remote:        ├─ code-point-at@1.1.0        
remote:        ├─ coffeescript@1.12.7        
remote:        ├─ color-convert@1.9.1        
remote:        ├─ color-name@1.1.3        
remote:        ├─ color-string@1.5.2        
remote:        ├─ color@0.11.4        
remote:        ├─ colormin@1.1.2        
remote:        ├─ colors@1.1.2        
remote:        ├─ combined-stream@1.0.5        
remote:        ├─ commander@2.13.0        
remote:        ├─ commondir@1.0.1        
remote:        ├─ compression-webpack-plugin@1.1.3        
remote:        ├─ concat-map@0.0.1        
remote:        ├─ concat-stream@1.6.0        
remote:        ├─ console-browserify@1.1.0        
remote:        ├─ console-control-strings@1.1.0        
remote:        ├─ consolidate@0.14.5        
remote:        ├─ constants-browserify@1.0.0        
remote:        ├─ convert-source-map@1.5.1        
remote:        ├─ copy-concurrently@1.0.5        
remote:        ├─ core-js@2.5.3        
remote:        ├─ core-util-is@1.0.2        
remote:        ├─ cosmiconfig@2.2.2        
remote:        ├─ create-ecdh@4.0.0        
remote:        ├─ create-hash@1.1.3        
remote:        ├─ create-hmac@1.1.6        
remote:        ├─ cross-spawn@3.0.1        
remote:        ├─ cryptiles@2.0.5        
remote:        ├─ crypto-browserify@3.12.0        
remote:        ├─ css-color-function@1.3.3        
remote:        ├─ css-color-names@0.0.4        
remote:        ├─ css-loader@0.28.8        
remote:        ├─ css-selector-tokenizer@0.7.0        
remote:        ├─ css-unit-converter@1.1.1        
remote:        ├─ cssesc@0.1.0        
remote:        ├─ cssnano@3.10.0        
remote:        ├─ csso@2.3.2        
remote:        ├─ currently-unhandled@0.4.1        
remote:        ├─ cyclist@0.2.2        
remote:        ├─ d@1.0.0        
remote:        ├─ dashdash@1.14.1        
remote:        ├─ date-now@0.1.4        
remote:        ├─ de-indent@1.0.2        
remote:        ├─ debug@2.6.9        
remote:        ├─ decamelize@1.2.0        
remote:        ├─ decompress-response@3.3.0        
remote:        ├─ deep-extend@0.4.2        
remote:        ├─ defined@1.0.0        
remote:        ├─ delayed-stream@1.0.0        
remote:        ├─ delegates@1.0.0        
remote:        ├─ des.js@1.0.0        
remote:        ├─ detect-indent@4.0.0        
remote:        ├─ detect-libc@1.0.3        
remote:        ├─ diffie-hellman@5.0.2        
remote:        ├─ domain-browser@1.1.7        
remote:        ├─ duplexer3@0.1.4        
remote:        ├─ duplexify@3.5.3        
remote:        ├─ ecc-jsbn@0.1.1        
remote:        ├─ electron-releases@2.1.0        
remote:        ├─ electron-to-chromium@1.3.30        
remote:        ├─ elliptic@6.4.0        
remote:        ├─ emojis-list@2.1.0        
remote:        ├─ end-of-stream@1.4.1        
remote:        ├─ enhanced-resolve@3.4.1        
remote:        ├─ errno@0.1.6        
remote:        ├─ error-ex@1.3.1        
remote:        ├─ es5-ext@0.10.37        
remote:        ├─ es6-iterator@2.0.3        
remote:        ├─ es6-map@0.1.5        
remote:        ├─ es6-set@0.1.5        
remote:        ├─ es6-symbol@3.1.1        
remote:        ├─ es6-weak-map@2.0.2        
remote:        ├─ escape-string-regexp@1.0.5        
remote:        ├─ escope@3.6.0        
remote:        ├─ esprima@4.0.0        
remote:        ├─ esrecurse@4.2.0        
remote:        ├─ estraverse@4.2.0        
remote:        ├─ esutils@2.0.2        
remote:        ├─ event-emitter@0.3.5        
remote:        ├─ events@1.1.1        
remote:        ├─ evp_bytestokey@1.0.3        
remote:        ├─ execa@0.7.0        
remote:        ├─ expand-brackets@0.1.5        
remote:        ├─ expand-range@1.8.2        
remote:        ├─ extend@3.0.1        
remote:        ├─ extglob@0.3.2        
remote:        ├─ extract-text-webpack-plugin@3.0.2        
remote:        ├─ extsprintf@1.3.0        
remote:        ├─ fast-deep-equal@1.0.0        
remote:        ├─ fast-json-stable-stringify@2.0.0        
remote:        ├─ fastparse@1.1.1        
remote:        ├─ file-loader@1.1.6        
remote:        ├─ filename-regex@2.0.1        
remote:        ├─ fill-range@2.2.3        
remote:        ├─ find-babel-config@1.1.0        
remote:        ├─ find-cache-dir@1.0.0        
remote:        ├─ find-up@2.1.0        
remote:        ├─ flatten@1.0.2        
remote:        ├─ flush-write-stream@1.0.2        
remote:        ├─ for-in@1.0.2        
remote:        ├─ for-own@1.0.0        
remote:        ├─ forever-agent@0.6.1        
remote:        ├─ form-data@2.1.4        
remote:        ├─ from2@2.3.0        
remote:        ├─ fs-extra@0.30.0        
remote:        ├─ fs-write-stream-atomic@1.0.10        
remote:        ├─ fs.realpath@1.0.0        
remote:        ├─ fsevents@1.1.3        
remote:        ├─ fstream-ignore@1.0.5        
remote:        ├─ fstream@1.0.11        
remote:        ├─ function-bind@1.1.1        
remote:        ├─ gauge@2.7.4        
remote:        ├─ gaze@1.1.2        
remote:        ├─ generate-function@2.0.0        
remote:        ├─ generate-object-property@1.2.0        
remote:        ├─ get-caller-file@1.0.2        
remote:        ├─ get-stdin@4.0.1        
remote:        ├─ get-stream@3.0.0        
remote:        ├─ getpass@0.1.7        
remote:        ├─ glob-base@0.3.0        
remote:        ├─ glob-parent@2.0.0        
remote:        ├─ glob@7.1.2        
remote:        ├─ globals@9.18.0        
remote:        ├─ globule@1.2.0        
remote:        ├─ got@7.1.0        
remote:        ├─ graceful-fs@4.1.11        
remote:        ├─ har-schema@2.0.0        
remote:        ├─ har-validator@2.0.6        
remote:        ├─ has-ansi@2.0.0        
remote:        ├─ has-flag@2.0.0        
remote:        ├─ has-symbol-support-x@1.4.1        
remote:        ├─ has-to-string-tag-x@1.4.1        
remote:        ├─ has-unicode@2.0.1        
remote:        ├─ has@1.0.1        
remote:        ├─ hash-base@2.0.2        
remote:        ├─ hash-sum@1.0.2        
remote:        ├─ hash.js@1.1.3        
remote:        ├─ hawk@3.1.3        
remote:        ├─ he@1.1.1        
remote:        ├─ hmac-drbg@1.0.1        
remote:        ├─ hoek@4.2.0        
remote:        ├─ home-or-tmp@2.0.0        
remote:        ├─ hosted-git-info@2.5.0        
remote:        ├─ html-comment-regex@1.1.1        
remote:        ├─ http-signature@1.1.1        
remote:        ├─ https-browserify@1.0.0        
remote:        ├─ icss-replace-symbols@1.1.0        
remote:        ├─ icss-utils@2.1.0        
remote:        ├─ ieee754@1.1.8        
remote:        ├─ iferr@0.1.5        
remote:        ├─ imurmurhash@0.1.4        
remote:        ├─ in-publish@2.0.0        
remote:        ├─ indent-string@2.1.0        
remote:        ├─ indexes-of@1.0.1        
remote:        ├─ indexof@0.0.1        
remote:        ├─ inflight@1.0.6        
remote:        ├─ inherits@2.0.3        
remote:        ├─ ini@1.3.5        
remote:        ├─ interpret@1.1.0        
remote:        ├─ invariant@2.2.2        
remote:        ├─ invert-kv@1.0.0        
remote:        ├─ is-absolute-url@2.1.0        
remote:        ├─ is-arrayish@0.3.1        
remote:        ├─ is-binary-path@1.0.1        
remote:        ├─ is-buffer@1.1.6        
remote:        ├─ is-builtin-module@1.0.0        
remote:        ├─ is-directory@0.3.1        
remote:        ├─ is-dotfile@1.0.3        
remote:        ├─ is-equal-shallow@0.1.3        
remote:        ├─ is-extendable@0.1.1        
remote:        ├─ is-extglob@1.0.0        
remote:        ├─ is-finite@1.0.2        
remote:        ├─ is-fullwidth-code-point@1.0.0        
remote:        ├─ is-glob@2.0.1        
remote:        ├─ is-my-json-valid@2.17.1        
remote:        ├─ is-number@2.1.0        
remote:        ├─ is-object@1.0.1        
remote:        ├─ is-plain-obj@1.1.0        
remote:        ├─ is-plain-object@2.0.4        
remote:        ├─ is-posix-bracket@0.1.1        
remote:        ├─ is-primitive@2.0.0        
remote:        ├─ is-property@1.0.2        
remote:        ├─ is-retry-allowed@1.1.0        
remote:        ├─ is-stream@1.1.0        
remote:        ├─ is-svg@2.1.0        
remote:        ├─ is-typedarray@1.0.0        
remote:        ├─ is-utf8@0.2.1        
remote:        ├─ isarray@1.0.0        
remote:        ├─ isexe@2.0.0        
remote:        ├─ isnumeric@0.2.0        
remote:        ├─ isobject@3.0.1        
remote:        ├─ isstream@0.1.2        
remote:        ├─ isurl@1.0.0        
remote:        ├─ js-base64@2.4.0        
remote:        ├─ js-tokens@3.0.2        
remote:        ├─ js-yaml@3.10.0        
remote:        ├─ jsbn@0.1.1        
remote:        ├─ jsesc@1.3.0        
remote:        ├─ json-loader@0.5.7        
remote:        ├─ json-schema-traverse@0.3.1        
remote:        ├─ json-schema@0.2.3        
remote:        ├─ json-stable-stringify@1.0.1        
remote:        ├─ json-stringify-safe@5.0.1        
remote:        ├─ json5@0.5.1        
remote:        ├─ jsonfile@2.4.0        
remote:        ├─ jsonify@0.0.0        
remote:        ├─ jsonpointer@4.0.1        
remote:        ├─ jsprim@1.4.1        
remote:        ├─ kind-of@3.2.2        
remote:        ├─ klaw@1.3.1        
remote:        ├─ lazy-cache@0.2.7        
remote:        ├─ lcid@1.0.0        
remote:        ├─ load-json-file@1.1.0        
remote:        ├─ loader-runner@2.3.0        
remote:        ├─ loader-utils@1.1.0        
remote:        ├─ locate-path@2.0.0        
remote:        ├─ lodash._reinterpolate@3.0.0        
remote:        ├─ lodash.assign@4.2.0        
remote:        ├─ lodash.camelcase@4.3.0        
remote:        ├─ lodash.clonedeep@4.5.0        
remote:        ├─ lodash.memoize@4.1.2        
remote:        ├─ lodash.mergewith@4.6.0        
remote:        ├─ lodash.tail@4.1.1        
remote:        ├─ lodash.template@4.4.0        
remote:        ├─ lodash.templatesettings@4.1.0        
remote:        ├─ lodash.uniq@4.5.0        
remote:        ├─ lodash@4.17.4        
remote:        ├─ longest@1.0.1        
remote:        ├─ loose-envify@1.3.1        
remote:        ├─ loud-rejection@1.6.0        
remote:        ├─ lowercase-keys@1.0.0        
remote:        ├─ lru-cache@4.1.1        
remote:        ├─ macaddress@0.2.8        
remote:        ├─ make-dir@1.1.0        
remote:        ├─ map-obj@1.0.1        
remote:        ├─ math-expression-evaluator@1.2.17        
remote:        ├─ md5.js@1.3.4        
remote:        ├─ mem@1.1.0        
remote:        ├─ memory-fs@0.4.1        
remote:        ├─ meow@3.7.0        
remote:        ├─ micromatch@2.3.11        
remote:        ├─ miller-rabin@4.0.1        
remote:        ├─ mime-db@1.30.0        
remote:        ├─ mime-types@2.1.17        
remote:        ├─ mimic-fn@1.1.0        
remote:        ├─ mimic-response@1.0.0        
remote:        ├─ minimalistic-assert@1.0.0        
remote:        ├─ minimalistic-crypto-utils@1.0.1        
remote:        ├─ minimatch@3.0.4        
remote:        ├─ minimist@1.2.0        
remote:        ├─ mississippi@1.3.0        
remote:        ├─ mixin-object@2.0.1        
remote:        ├─ mkdirp@0.5.1        
remote:        ├─ move-concurrently@1.0.1        
remote:        ├─ ms@2.0.0        
remote:        ├─ nan@2.8.0        
remote:        ├─ node-gyp@3.6.2        
remote:        ├─ node-libs-browser@2.1.0        
remote:        ├─ node-pre-gyp@0.6.39        
remote:        ├─ node-sass@4.7.2        
remote:        ├─ nopt@3.0.6        
remote:        ├─ normalize-package-data@2.4.0        
remote:        ├─ normalize-path@2.1.1        
remote:        ├─ normalize-range@0.1.2        
remote:        ├─ normalize-url@1.9.1        
remote:        ├─ noty@3.1.4        
remote:        ├─ npm-run-path@2.0.2        
remote:        ├─ npmlog@4.1.2        
remote:        ├─ num2fraction@1.2.2        
remote:        ├─ number-is-nan@1.0.1        
remote:        ├─ oauth-sign@0.8.2        
remote:        ├─ object-assign@4.1.1        
remote:        ├─ object.omit@2.0.1        
remote:        ├─ once@1.4.0        
remote:        ├─ onecolor@3.0.5        
remote:        ├─ os-browserify@0.3.0        
remote:        ├─ os-homedir@1.0.2        
remote:        ├─ os-locale@2.1.0        
remote:        ├─ os-tmpdir@1.0.2        
remote:        ├─ osenv@0.1.4        
remote:        ├─ p-cancelable@0.3.0        
remote:        ├─ p-finally@1.0.0        
remote:        ├─ p-limit@1.2.0        
remote:        ├─ p-locate@2.0.0        
remote:        ├─ p-timeout@1.2.1        
remote:        ├─ p-try@1.0.0        
remote:        ├─ pako@1.0.6        
remote:        ├─ parallel-transform@1.1.0        
remote:        ├─ parse-asn1@5.1.0        
remote:        ├─ parse-glob@3.0.4        
remote:        ├─ parse-json@2.2.0        
remote:        ├─ path-browserify@0.0.0        
remote:        ├─ path-complete-extname@0.1.0        
remote:        ├─ path-exists@3.0.0        
remote:        ├─ path-is-absolute@1.0.1        
remote:        ├─ path-key@2.0.1        
remote:        ├─ path-parse@1.0.5        
remote:        ├─ path-type@1.1.0        
remote:        ├─ pbkdf2@3.0.14        
remote:        ├─ performance-now@2.1.0        
remote:        ├─ pify@2.3.0        
remote:        ├─ pinkie-promise@2.0.1        
remote:        ├─ pinkie@2.0.4        
remote:        ├─ pixrem@4.0.1        
remote:        ├─ pkg-dir@2.0.0        
remote:        ├─ pkg-up@2.0.0        
remote:        ├─ pleeease-filters@4.0.0        
remote:        ├─ postcss-apply@0.8.0        
remote:        ├─ postcss-attribute-case-insensitive@2.0.0        
remote:        ├─ postcss-calc@6.0.1        
remote:        ├─ postcss-color-function@4.0.1        
remote:        ├─ postcss-color-gray@4.1.0        
remote:        ├─ postcss-color-hex-alpha@3.0.0        
remote:        ├─ postcss-color-hsl@2.0.0        
remote:        ├─ postcss-color-hwb@3.0.0        
remote:        ├─ postcss-color-rebeccapurple@3.0.0        
remote:        ├─ postcss-color-rgb@2.0.0        
remote:        ├─ postcss-color-rgba-fallback@3.0.0        
remote:        ├─ postcss-colormin@2.2.2        
remote:        ├─ postcss-convert-values@2.6.1        
remote:        ├─ postcss-cssnext@3.0.2        
remote:        ├─ postcss-custom-media@6.0.0        
remote:        ├─ postcss-custom-properties@6.2.0        
remote:        ├─ postcss-custom-selectors@4.0.1        
remote:        ├─ postcss-discard-comments@2.0.4        
remote:        ├─ postcss-discard-duplicates@2.1.0        
remote:        ├─ postcss-discard-empty@2.1.0        
remote:        ├─ postcss-discard-overridden@0.1.1        
remote:        ├─ postcss-discard-unused@2.2.3        
remote:        ├─ postcss-filter-plugins@2.0.2        
remote:        ├─ postcss-font-family-system-ui@2.1.2        
remote:        ├─ postcss-font-variant@3.0.0        
remote:        ├─ postcss-image-set-polyfill@0.3.5        
remote:        ├─ postcss-import@11.0.0        
remote:        ├─ postcss-initial@2.0.0        
remote:        ├─ postcss-load-config@1.2.0        
remote:        ├─ postcss-load-options@1.2.0        
remote:        ├─ postcss-load-plugins@2.3.0        
remote:        ├─ postcss-loader@2.0.10        
remote:        ├─ postcss-media-minmax@3.0.0        
remote:        ├─ postcss-media-query-parser@0.2.3        
remote:        ├─ postcss-merge-idents@2.1.7        
remote:        ├─ postcss-merge-longhand@2.0.2        
remote:        ├─ postcss-merge-rules@2.1.2        
remote:        ├─ postcss-message-helpers@2.0.0        
remote:        ├─ postcss-minify-font-values@1.0.5        
remote:        ├─ postcss-minify-gradients@1.0.5        
remote:        ├─ postcss-minify-params@1.2.2        
remote:        ├─ postcss-minify-selectors@2.1.1        
remote:        ├─ postcss-modules-extract-imports@1.1.0        
remote:        ├─ postcss-modules-local-by-default@1.2.0        
remote:        ├─ postcss-modules-scope@1.1.0        
remote:        ├─ postcss-modules-values@1.3.0        
remote:        ├─ postcss-nesting@4.2.1        
remote:        ├─ postcss-normalize-charset@1.1.1        
remote:        ├─ postcss-normalize-url@3.0.8        
remote:        ├─ postcss-ordered-values@2.2.3        
remote:        ├─ postcss-pseudo-class-any-link@4.0.0        
remote:        ├─ postcss-pseudoelements@5.0.0        
remote:        ├─ postcss-reduce-idents@2.4.0        
remote:        ├─ postcss-reduce-initial@1.0.1        
remote:        ├─ postcss-reduce-transforms@1.0.4        
remote:        ├─ postcss-replace-overflow-wrap@2.0.0        
remote:        ├─ postcss-selector-matches@3.0.1        
remote:        ├─ postcss-selector-not@3.0.1        
remote:        ├─ postcss-selector-parser@2.2.3        
remote:        ├─ postcss-svgo@2.1.6        
remote:        ├─ postcss-unique-selectors@2.0.2        
remote:        ├─ postcss-value-parser@3.3.0        
remote:        ├─ postcss-zindex@2.2.0        
remote:        ├─ postcss@6.0.16        
remote:        ├─ prepend-http@1.0.4        
remote:        ├─ preserve@0.2.0        
remote:        ├─ prettier@1.10.2        
remote:        ├─ private@0.1.8        
remote:        ├─ process-nextick-args@1.0.7        
remote:        ├─ process@0.11.10        
remote:        ├─ promise-inflight@1.0.1        
remote:        ├─ prr@1.0.1        
remote:        ├─ pseudomap@1.0.2        
remote:        ├─ public-encrypt@4.0.0        
remote:        ├─ pump@1.0.3        
remote:        ├─ pumpify@1.3.6        
remote:        ├─ punycode@1.4.1        
remote:        ├─ q@1.5.1        
remote:        ├─ qs@6.3.2        
remote:        ├─ query-string@4.3.4        
remote:        ├─ querystring-es3@0.2.1        
remote:        ├─ querystring@0.2.0        
remote:        ├─ randomatic@1.1.7        
remote:        ├─ randombytes@2.0.6        
remote:        ├─ randomfill@1.0.3        
remote:        ├─ rc@1.2.3        
remote:        ├─ read-cache@1.0.0        
remote:        ├─ read-pkg-up@1.0.1        
remote:        ├─ read-pkg@1.1.0        
remote:        ├─ readable-stream@2.3.3        
remote:        ├─ readdirp@2.1.0        
remote:        ├─ redent@1.0.0        
remote:        ├─ reduce-css-calc@1.3.0        
remote:        ├─ reduce-function-call@1.0.2        
remote:        ├─ regenerate@1.3.3        
remote:        ├─ regenerator-runtime@0.10.5        
remote:        ├─ regenerator-transform@0.10.1        
remote:        ├─ regex-cache@0.4.4        
remote:        ├─ regexpu-core@1.0.0        
remote:        ├─ regjsgen@0.2.0        
remote:        ├─ regjsparser@0.1.5        
remote:        ├─ remove-trailing-separator@1.1.0        
remote:        ├─ repeat-element@1.1.2        
remote:        ├─ repeat-string@1.6.1        
remote:        ├─ repeating@2.0.1        
remote:        ├─ request@2.79.0        
remote:        ├─ require-directory@2.1.1        
remote:        ├─ require-from-string@1.2.1        
remote:        ├─ require-main-filename@1.0.1        
remote:        ├─ reselect@3.0.1        
remote:        ├─ resolve@1.5.0        
remote:        ├─ rgb-hex@2.1.0        
remote:        ├─ rgb@0.1.0        
remote:        ├─ right-align@0.1.3        
remote:        ├─ rimraf@2.6.2        
remote:        ├─ ripemd160@2.0.1        
remote:        ├─ run-queue@1.0.3        
remote:        ├─ safe-buffer@5.1.1        
remote:        ├─ sass-graph@2.2.4        
remote:        ├─ sass-loader@6.0.6        
remote:        ├─ sax@1.2.4        
remote:        ├─ schema-utils@0.3.0        
remote:        ├─ scss-tokenizer@0.2.3        
remote:        ├─ semver@5.4.1        
remote:        ├─ serialize-javascript@1.4.0        
remote:        ├─ set-blocking@2.0.0        
remote:        ├─ set-immediate-shim@1.0.1        
remote:        ├─ setimmediate@1.0.5        
remote:        ├─ sha.js@2.4.9        
remote:        ├─ shallow-clone@0.1.2        
remote:        ├─ shebang-command@1.2.0        
remote:        ├─ shebang-regex@1.0.0        
remote:        ├─ signal-exit@3.0.2        
remote:        ├─ simple-swizzle@0.2.2        
remote:        ├─ slash@1.0.0        
remote:        ├─ sntp@1.0.9        
remote:        ├─ sort-keys@1.1.2        
remote:        ├─ source-list-map@2.0.0        
remote:        ├─ source-map-support@0.4.18        
remote:        ├─ source-map@0.5.7        
remote:        ├─ spdx-correct@1.0.2        
remote:        ├─ spdx-expression-parse@1.0.4        
remote:        ├─ spdx-license-ids@1.2.2        
remote:        ├─ sprintf-js@1.0.3        
remote:        ├─ sshpk@1.13.1        
remote:        ├─ ssri@5.0.0        
remote:        ├─ stdout-stream@1.4.0        
remote:        ├─ stream-browserify@2.0.1        
remote:        ├─ stream-each@1.2.2        
remote:        ├─ stream-http@2.7.2        
remote:        ├─ stream-shift@1.0.0        
remote:        ├─ strict-uri-encode@1.1.0        
remote:        ├─ string_decoder@1.0.3        
remote:        ├─ string-width@1.0.2        
remote:        ├─ stringstream@0.0.5        
remote:        ├─ strip-ansi@3.0.1        
remote:        ├─ strip-bom@2.0.0        
remote:        ├─ strip-eof@1.0.0        
remote:        ├─ strip-indent@1.0.1        
remote:        ├─ strip-json-comments@2.0.1        
remote:        ├─ style-loader@0.19.1        
remote:        ├─ supports-color@4.5.0        
remote:        ├─ svgo@0.7.2        
remote:        ├─ tapable@0.2.8        
remote:        ├─ tar-pack@3.4.1        
remote:        ├─ tar@2.2.1        
remote:        ├─ through2@2.0.3        
remote:        ├─ timed-out@4.0.1        
remote:        ├─ timers-browserify@2.0.4        
remote:        ├─ to-arraybuffer@1.0.1        
remote:        ├─ to-fast-properties@1.0.3        
remote:        ├─ tough-cookie@2.3.3        
remote:        ├─ trim-newlines@1.0.0        
remote:        ├─ trim-right@1.0.1        
remote:        ├─ true-case-path@1.0.2        
remote:        ├─ tty-browserify@0.0.0        
remote:        ├─ tunnel-agent@0.6.0        
remote:        ├─ tweetnacl@0.14.5        
remote:        ├─ typedarray@0.0.6        
remote:        ├─ uglify-js@2.8.29        
remote:        ├─ uglify-to-browserify@1.0.2        
remote:        ├─ uglifyjs-webpack-plugin@0.4.6        
remote:        ├─ uid-number@0.0.6        
remote:        ├─ uniq@1.0.1        
remote:        ├─ uniqid@4.1.1        
remote:        ├─ uniqs@2.0.0        
remote:        ├─ unique-filename@1.1.0        
remote:        ├─ unique-slug@2.0.0        
remote:        ├─ units-css@0.4.0        
remote:        ├─ url-parse-lax@1.0.0        
remote:        ├─ url-to-options@1.0.1        
remote:        ├─ url@0.11.0        
remote:        ├─ util-deprecate@1.0.2        
remote:        ├─ util@0.10.3        
remote:        ├─ uuid@3.1.0        
remote:        ├─ validate-npm-package-license@3.0.1        
remote:        ├─ vendors@1.0.1        
remote:        ├─ verror@1.10.0        
remote:        ├─ viewport-dimensions@0.2.0        
remote:        ├─ vm-browserify@0.0.4        
remote:        ├─ vue-hot-reload-api@2.2.4        
remote:        ├─ vue-i18n@7.4.0        
remote:        ├─ vue-loader@13.7.0        
remote:        ├─ vue-resource@1.3.5        
remote:        ├─ vue-style-loader@3.0.3        
remote:        ├─ vue-template-compiler@2.5.13        
remote:        ├─ vue-template-es2015-compiler@1.6.0        
remote:        ├─ vue@2.5.13        
remote:        ├─ vuejs-noty@0.1.3        
remote:        ├─ vuex@3.0.1        
remote:        ├─ watchpack@1.4.0        
remote:        ├─ webpack-manifest-plugin@1.3.2        
remote:        ├─ webpack-sources@1.1.0        
remote:        ├─ webpack@3.10.0        
remote:        ├─ whet.extend@0.9.9        
remote:        ├─ which-module@2.0.0        
remote:        ├─ which@1.3.0        
remote:        ├─ wide-align@1.1.2        
remote:        ├─ window-size@0.1.0        
remote:        ├─ wordwrap@0.0.2        
remote:        ├─ wrap-ansi@2.1.0        
remote:        ├─ wrappy@1.0.2        
remote:        ├─ xtend@4.0.1        
remote:        ├─ y18n@3.2.1        
remote:        ├─ yallist@2.1.2        
remote:        ├─ yargs-parser@7.0.0        
remote:        └─ yargs@8.0.2        
remote:        Done in 0.85s.        
remote:                
remote:        !     Unmet dependencies don't fail yarn install but may cause runtime issues        
remote:        https://github.com/npm/npm/issues/7494        
remote:                
remote: =====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-ruby.git        
remote: =====> Detected Framework: Ruby        
remote: -----> Compiling Ruby/Rails        
remote: -----> Using Ruby version: ruby-2.4.3        
remote: -----> Installing dependencies using bundler 1.15.2        
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment        
remote:        Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.1). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.        
remote:        Fetching gem metadata from https://rubygems.org/...........        
remote:        Fetching version metadata from https://rubygems.org/...        
remote:        Fetching dependency metadata from https://rubygems.org/..        
remote:        Using rake 12.3.0        
remote:        Using concurrent-ruby 1.0.5        
remote:        Using minitest 5.11.1        
remote:        Using thread_safe 0.3.6        
remote:        Using builder 3.2.3        
remote:        Using erubi 1.7.0        
remote:        Using mini_portile2 2.3.0        
remote:        Using crass 1.0.3        
remote:        Using rack 2.0.3        
remote:        Using nio4r 2.2.0        
remote:        Using websocket-extensions 0.1.3        
remote:        Using mini_mime 1.0.0        
remote:        Using arel 8.0.0        
remote:        Using public_suffix 3.0.1        
remote:        Using extlib 0.9.16        
remote:        Fetching multi_json 1.13.1        
remote:        Using execjs 2.7.0        
remote:        Using bcrypt 3.1.11        
remote:        Using popper_js 1.12.9        
remote:        Using rb-fsevent 0.10.2        
remote:        Using ffi 1.9.18        
remote:        Using browser 2.5.2        
remote:        Using bundler 1.15.2        
remote:        Using mime-types-data 3.2016.0521        
remote:        Using climate_control 0.2.0        
remote:        Using orm_adapter 0.5.0        
remote:        Using coffee-script-source 1.12.2        
remote:        Using method_source 0.9.0        
remote:        Using thor 0.19.4        
remote:        Using deep_merge 1.1.1        
remote:        Using dry-equalizer 0.2.0        
remote:        Using inflecto 0.0.2        
remote:        Using connection_pool 2.2.1        
remote:        Using excon 0.60.0        
remote:        Using multipart-post 2.0.0        
remote:        Using filterrific 5.0.1        
remote:        Using formatador 0.2.5        
remote:        Fetching jwt 2.1.0        
remote:        Using little-plugger 1.1.4        
remote:        Using memoist 0.16.0        
remote:        Using os 0.9.6        
remote:        Using retriable 1.4.1        
remote:        Using hashie 3.5.7        
remote:        Using kaminari-core 1.1.1        
remote:        Using mini_magick 4.8.0        
remote:        Using oj 3.3.10        
remote:        Using pg 0.21.0        
remote:        Using puma 3.11.0        
remote:        Using redis 4.0.1        
remote:        Using rolify 5.2.0        
remote:        Using ruby-progressbar 1.9.0        
remote:        Using tilt 2.0.8        
remote:        Using temple 0.8.0        
remote:        Using i18n 0.9.1        
remote:        Using dry-configurable 0.7.0        
remote:        Using dry-core 0.4.2        
remote:        Using tzinfo 1.2.4        
remote:        Using sitemap_generator 6.0.0        
remote:        Using rack-test 0.8.2        
remote:        Using sprockets 3.7.1        
remote:        Using warden 1.2.7        
remote:        Using rack-protection 2.0.0        
remote:        Using rack-proxy 0.6.3        
remote:        Using websocket-driver 0.6.5        
remote:        Using mail 2.7.0        
remote:        Using addressable 2.5.2        
remote:        Using autoprefixer-rails 7.2.4        
remote:        Using uglifier 4.1.3        
remote:        Using nokogiri 1.8.1        
remote:        Using rb-inotify 0.9.10        
remote:        Using mime-types 3.1        
remote:        Using cocaine 0.5.8        
remote:        Using coffee-script 2.4.1        
remote:        Using foreman 0.84.0        
remote:        Fetching faraday 0.13.1        
remote:        Installing multi_json 1.13.1        
remote:        Installing jwt 2.1.0        
remote:        Using kp_api 0.10.2        
remote:        Using slim 3.0.9        
remote:        Using russian 0.6.0        
remote:        Using dry-container 0.6.0        
remote:        Using activesupport 5.1.4        
remote:        Using sidekiq 5.0.5        
remote:        Using launchy 2.4.3        
remote:        Using loofah 2.1.1        
remote:        Using sass-listen 4.0.0        
remote:        Using fog-core 2.0.0        
remote:        Using ckeditor 4.2.4        
remote:        Using autoparse 0.3.3        
remote:        Using logging 2.2.2        
remote:        Using rollbar 2.15.5        
remote:        Using dry-logic 0.4.2        
remote:        Using rails-dom-testing 2.0.3        
remote:        Using globalid 0.4.1        
remote:        Using activemodel 5.1.4        
remote:        Using jbuilder 2.7.0        
remote:        Using pundit 1.1.0        
remote:        Using rails-html-sanitizer 1.0.3        
remote:        Using sass 3.5.5        
remote:        Installing faraday 0.13.1        
remote:        Using fog-json 1.1.0        
remote:        Using fog-xml 0.1.3        
remote:        Using dry-types 0.12.2        
remote:        Using activejob 5.1.4        
remote:        Using activerecord 5.1.4        
remote:        Using carrierwave 1.2.2        
remote:        Using actionview 5.1.4        
remote:        Using bootstrap 4.0.0.beta3        
remote:        Using font-awesome-sass 4.7.0        
remote:        Using fog-google 0.6.0        
remote:        Using dry-validation 0.11.1        
remote:        Using acts_as_list 0.9.10        
remote:        Using kaminari-activerecord 1.1.1        
remote:        Using actionpack 5.1.4        
remote:        Using kaminari-actionview 1.1.1        
remote:        Using config 1.6.1        
remote:        Using actioncable 5.1.4        
remote:        Using actionmailer 5.1.4        
remote:        Using railties 5.1.4        
remote:        Using sprockets-rails 3.2.1        
remote:        Using meta-tags 2.7.0        
remote:        Using kaminari 1.1.1        
remote:        Using coffee-rails 4.2.2        
remote:        Using rails 5.1.4        
remote:        Using responders 2.4.0        
remote:        Using jquery-rails 4.3.1        
remote:        Using sass-rails 5.0.7        
remote:        Using webpacker 3.2.0        
remote:        Using custom_counter_cache 0.2.2        
remote:        Using devise 4.4.0        
remote:        Using signet 0.8.1        
remote:        Using googleauth 0.6.2        
remote:        Using google-api-client 0.8.6        
remote:        Bundle complete! 48 Gemfile dependencies, 130 gems now installed.        
remote:        Gems in the groups development and test were not installed.        
remote:        Bundled gems are installed into ./vendor/bundle.        
remote:        Bundle completed (12.01s)        
remote:        Cleaning up the bundler cache.        
remote:        Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.1). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.        
remote:        Removing multi_xml (0.6.0)        
remote:        Removing oauth2 (1.4.0)        
remote:        Removing chronic (0.10.2)        
remote:        Removing omniauth-oauth2 (1.5.0)        
remote:        Removing jwt (1.5.6)        
remote:        Removing omniauth-google-oauth2 (0.5.2)        
remote:        Removing omniauth-vkontakte (1.4.1)        
remote:        Removing whenever (0.10.0)        
remote:        Removing multi_json (1.13.0)        
remote:        Removing faraday (0.12.2)        
remote:        Removing omniauth (1.8.1)        
remote: -----> Detecting rake tasks        
remote: -----> Preparing app for Rails asset pipeline        
remote:        Running: rake assets:precompile        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |        
remote:        Progress: |I, [2018-01-11T11:34:10.410851 #846]  INFO -- : DB Connection Pool size for Sidekiq Server before disconnect is: 5        
remote:        I, [2018-01-11T11:34:10.449796 #846]  INFO -- : DB Connection Pool size for Sidekiq Server is now: 16        
remote:        yarn install v1.3.2        
remote:        [1/4] Resolving packages...        
remote:        [2/4] Fetching packages...        
remote:        info fsevents@1.1.3: The platform "linux" is incompatible with this module.        
remote:        info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.        
remote:        [3/4] Linking dependencies...        
remote:        warning "@rails/webpacker > postcss-cssnext@3.0.2" has unmet peer dependency "caniuse-lite@^1.0.30000697".        
remote:        warning " > vue-loader@13.7.0" has unmet peer dependency "css-loader@*".        
remote:        warning " > webpack-dev-server@2.10.1" has unmet peer dependency "webpack@^2.2.0 || ^3.0.0".        
remote:        warning "webpack-dev-server > webpack-dev-middleware@1.12.2" has unmet peer dependency "webpack@^1.0.0 || ^2.0.0 || ^3.0.0".        
remote:        [4/4] Building fresh packages...        
remote:        Done in 7.76s.        
remote:        I, [2018-01-11T11:34:31.412744 #846]  INFO -- : Writing /tmp/build/public/assets/express/lib/application-688de300457b8bce081311f6966b12eae1abdc4a891ae32ca4619dd0d7da86a1.js        
remote:        I, [2018-01-11T11:34:31.413855 #846]  INFO -- : Writing /tmp/build/public/assets/express/lib/application-688de300457b8bce081311f6966b12eae1abdc4a891ae32ca4619dd0d7da86a1.js.gz        
remote:        Webpacker is installed 🎉 🍰        
remote:        Using /tmp/build/config/webpacker.yml file for setting up webpack paths        
remote:        Compiling…        
remote:        Compilation failed:        
remote:        !        
remote:        !     Precompiling assets failed.        
remote:        !        
To 111.222.333.444:my-app
 ! [remote rejected] dev -> master (pre-receive hook declined)
error: failed to push some refs to 'dokku@111.222.333.444:my-app'
Completed with errors, see above

Help me solve the problem. I'm desperate and I do not know what to do.

gauravtiwari commented 6 years ago

Are you using es6 code or any libraries that probably using es6 code? See this issue: https://github.com/rails/webpacker/issues/306

afuno commented 6 years ago

@gauravtiwari I'll read it all and test. But why can not I get a normal error text in the log? It looks very strange.

P.S.: As for the link you gave me, I'll answer you soon.

gauravtiwari commented 6 years ago

The other thing you could do is compile like so locally:

NODE_ENV=production bundle exec rails assets:precompile
gauravtiwari commented 6 years ago

This will compile in production mode and will display appropriate errors.

afuno commented 6 years ago

@gauravtiwari

The first thing I tested it locally:

NODE_ENV=production RAILS_ENV=production rake assets:precompile

This command was copied directly from the log to save its appearance:

rake assets:precompile

All successfully compiled.

afuno commented 6 years ago

@gauravtiwari I brought the .babelrc file to this form:

{
  "presets": [
    ["env", {
      "modules": false,
      "targets": {
        "browsers": ["> 1%", "last 2 versions", "not ie <= 10"],
        "node": "current",
        "uglify": true
      },
      "useBuiltIns": true
    }],
    "stage-2",
    "es2015"
  ],
  "plugins": [
    "transform-runtime",
    ["module-resolver", {
      "root": ["./"],
      "alias": {
        "app_assets": "./app/assets",
        "vendor_assets": "./vendor/assets"
      }
    }]
  ],
  "env": {
    "test": {
      "presets": ["env", "stage-2"],
      "plugins": ["istanbul"]
    }
  }
}

It did not help.

Also the file yarn.lock: https://pastebin.com/raw/y0Z21sv0

afuno commented 6 years ago
yarn add babel-plugin-transform-function-bind

Too has not helped.

afuno commented 6 years ago

@gauravtiwari It is impossible to do anything without the text of the error. Even under your link the author has an error text. I do not have anything. Just one line that does not give absolutely nothing:

Precompiling assets failed.

I do not understand what to do about it :( Just at one point everything stopped working. And I did not even touch the files associated with the deploy.

afuno commented 6 years ago

This also did not help: http://babeljs.io/env

IsaaX commented 6 years ago

Just to give some context, I too am running into this issue. I am not running it via heroku but on alpine linux docker container. I get the error

Compiling…        
Compilation failed:  

With no informative error.

This error started happening when I upgrade webpacker from 3.0.2 to 3.2.0. I suspect one of the dependencies that was updated on this release caused an issue.

from the yarn.lock file

"@rails/webpacker@^3.2.0":
  version "3.2.0"
  resolved "https://registry.yarnpkg.com/@rails/webpacker/-/webpacker-3.2.0.tgz#e9e98a4da4a3e09441c71d2cbd66461659971055"
  dependencies:
    babel-core "^6.26.0"
    babel-loader "^7.1.2"
    babel-plugin-syntax-dynamic-import "^6.18.0"
    babel-plugin-transform-class-properties "^6.24.1"
    babel-plugin-transform-object-rest-spread "^6.26.0"
    babel-polyfill "^6.26.0"
    babel-preset-env "^1.6.1"
    case-sensitive-paths-webpack-plugin "^2.1.1"
    compression-webpack-plugin "^1.0.1"
    css-loader "^0.28.7"
    extract-text-webpack-plugin "^3.0.2"
    file-loader "^1.1.5"
    glob "^7.1.2"
    js-yaml "^3.10.0"
    node-sass "^4.7.2"
    path-complete-extname "^0.1.0"
    postcss-cssnext "^3.0.2"
    postcss-import "^11.0.0"
    postcss-loader "^2.0.9"
    sass-loader "^6.0.6"
    style-loader "^0.19.0"
    webpack "^3.10.0"
    webpack-manifest-plugin "^1.3.2"

When I run webpack directly I get a bit more informative error

> bundle exec webpack
> Segmentation fault

Right now I'm suspecting this is the culprit and am digging further. https://github.com/sass/node-sass/issues/2169

Hope this is helpful to everyone and see if we can all come up with a solution.

afuno commented 6 years ago

@IsaaX The problem is that I created a new Rails application:

rails new MyNewApp --webpack=vue

That is, I did not update the Webpacker.

And in the new Rails application I copied the app directory from the old one. Without touching Webpacker configs.

IsaaX commented 6 years ago

@afuno I presume since you are on a new application you are on webpacker v3.2.0? That's partially the issue but that's only speculation. If not could you let us know the version you are on?

afuno commented 6 years ago

@IsaaX This command:

NODE_ENV=production RAILS_ENV=production bundle exec webpack

Locally everything successfully compiles (displays information) (as minify).


Yes. Version 3.2.0. Actual to the moment.

IsaaX commented 6 years ago

@afuno ok so far my suspicious are on the right track. Locally my assets compile successfully. I'm running Mac OSX 10.12.6 High Sierra.

Only when I'm on a docker container with alpine linux does the asset compilation fails, which seems to be the case with you too since you are trying to deploy to heroku. The images heroku uses are linux based. So looking at https://github.com/sass/node-sass/issues/2169 it seems that the node version is not high enough.

afuno commented 6 years ago

@IsaaX

OS:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.3 LTS
Release:        16.04
Codename:       xenial

Dokku (.buildpacks) container:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty
gauravtiwari commented 6 years ago

Could you please try this code in webpack/production.js?

# from terminal
yarn add uglifyjs-webpack-plugin
// config/webpack/production.js
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const environment = require('./environment')

environment.plugins.delete('UglifyJs')

environment.plugins.append(
  'UglifyJs',
  new UglifyJsPlugin({
    sourceMap: true
  })
)

module.exports = environment.toWebpackConfig()
gauravtiwari commented 6 years ago

And then deploy again.

afuno commented 6 years ago

@gauravtiwari I did it, but it did not help.

And: node_modules/@rails/webpacker/package/environments/production.js

gauravtiwari commented 6 years ago

Ahh right. It should be in config/webpack/production.js

Please could you set ecma to 8 or 7: https://github.com/webpack-contrib/uglifyjs-webpack-plugin#uglifyoptions

  new UglifyJsPlugin({
    uglifyOptions: {
      ie8: false,
      ecma: 8,
      warnings: false
    }
  })
afuno commented 6 years ago

@gauravtiwari Did not help:

const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const environment = require('./environment')

environment.plugins.delete('UglifyJs')

environment.plugins.append(
  'UglifyJs',
  new UglifyJsPlugin({
    uglifyOptions: {
      ie8: false,
      ecma: 7, // or 8
      warnings: false
    }
  })
)

module.exports = environment.toWebpackConfig()

I do not know what to do... The project simply does not start on the server...

gauravtiwari commented 6 years ago

Does it compile now or still same error? Compilation failed

afuno commented 6 years ago

@gauravtiwari Absolutely the same thing. Nothing new.

gauravtiwari commented 6 years ago

Aahhrrggh! Can you give me access to your repo may be? (if that's okay) or make a public example to debug the problem.

afuno commented 6 years ago

@gauravtiwari Maybe it's RAM? I have 4 Gb RAM on the server. The server has Dokku, and Dokku has one application. This application has a link to the database (PostgreSQL) and Redis.

The process of compiling assets looks like this, that at one point (not immediately) the compilation falls.

It looks like a lack of RAM (4 Gb). But this is strange, since there are a lot of it on the server.

afuno commented 6 years ago

@gauravtiwari Oh my God!

For the thousandth time, I start the process of deploy. But this time I opened the server console in parallel (top).

The compilation (node) did not eat more than 12 percent of the RAM.

As a result, the compilation was successful! Deploy completed!

And the strangest thing is that I did not do anything. You can see for yourself. What is this devilry? :D

afuno commented 6 years ago

Most likely it's RAM. But I can not understand why now everything went well. I'm afraid to take the next deploy D:

gauravtiwari commented 6 years ago

@afuno Yes that's another thing I totally forgot to mention, there are some issues filed on the repo that's related to memory (RAM) not being sufficient for compilation. Is it deploying okay now?

afuno commented 6 years ago

@gauravtiwari Today the second deployment was successful.

afuno commented 6 years ago

@gauravtiwari Periodically falls. I have to sit during the deployment and shake the tambourine. It's just like a lottery.

gauravtiwari commented 6 years ago

Have you tried upgrading RAM to say 1GB or 2GB? The other alternative is you compile everything locally and push it to source control.

afuno commented 6 years ago

@gauravtiwari So I have 4 Gb of RAM on the server.

gauravtiwari commented 6 years ago

Closing this for now.

afuno commented 6 years ago

@gauravtiwari This problem has just appeared in the second project. The second project I created the other day. Also Rails 5.1.4. Deployment was canceled for the same reason.

When deployed, a maximum of 12% of server RAM (for node) is consumed.

P.S. I do not think that this topic should be closed, because the problem is not solved.

afuno commented 6 years ago

During the deployment: screenshot One second before the fall: screenshot

After I made the second deployment screenshot fell.

gauravtiwari commented 6 years ago

Ahh thanks @afuno for update. Are you still getting same cryptic error message? Does Dokku supports deploying in verbose mode so you can see why compilation fails?

Perhaps, consider posting this issue on webpack repo since webpacker is nothing more than a wrapper around latest webpack.

gauravtiwari commented 6 years ago

I just deployed an example app on heroku and it's deployed fine.

afuno commented 6 years ago

@gauravtiwari I use Dokku recommendations for deployment (git commands). Moreover, I spent half a year deploying with the Webpacker without any problems. I've used Webpacker 3.2 since its release. And everything was wonderful.

But since January 11 this year, I began to receive this problem.

gauravtiwari commented 6 years ago

@afuno thanks, so you started having these problems after 3.2.0? Could you please try 3.2.1?

afuno commented 6 years ago

@gauravtiwari I already tried the 3.2.1 version. Did not help.

afuno commented 6 years ago

@gauravtiwari Oh my God. I really do not understand what kind of crap :D The application has just deployed in seconds (Webpack compiling). The server state was exactly the same as yesterday, the day before yesterday, a week ago...

I do not understand anything.

Although exactly an hour ago I barely deployed the application D:

vitalyliber commented 5 years ago

I have the same error. This is very strange. I also use dokku for deploy. This was a new app. I have deployed it successfully, but after 2 hours can't do it again. This is very, very strange =) I have rails 6.0.. and webpacker from the master branch "@rails/webpacker": "https://github.com/rails/webpacker"

jakeNiemiec commented 5 years ago

This was a new app. I have deployed it successfully, but after 2 hours can't do it again.

Keep in mind that builds and deps act differently depending on NODE_ENV.

@afuno @vitalyliber Can you see if this works?

new UglifyJsPlugin({
    uglifyOptions: {
      compress: {
        collapse_vars: false
      }
    }
  }
)

Solves issues related to: https://github.com/terser-js/terser/issues/50

Many asset-heavy npm packages have this problem but, since webpacker compiles all node_modules by default, it only takes one bad dependency or sub-dependency for your build to choke to death.

TL;DR: When "dead code elimination" is run, there are so many code elimination candidates to keep track of that your process runs out of memory (cc @gauravtiwari). We ran into this while building FontAwesome for production, they have a good guide about overcoming this.