Docker image build error using redash Dockerfile


#1

Hello All,

I’m trying to build a docker image in my local using the redash Dockerfile. I have tried in both Windows 10 and Ubuntu 16.04 using a new docker installation (without other images or containers).

I’m using the following docker command from my Redash local repo folder cloned from official Redash repository master branch without additional changes in local, wich contains the Dockerfile:

/c/workspace/redash (master) $ docker build -t redash .

However, I got the following errors in both operative systems. I really appreciate your help to figure out a solution. Thanks:

 @ ./client/app/pages/admin/index.js 14:14-33
 @ ./client/app/pages/index.js
 @ ./client/app/index.js

ERROR in ./client/app/pages/admin/outdated-queries/index.js

/app/client/app/pages/admin/outdated-queries/index.js
   1:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:44  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:48  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:64  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:59  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:28  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:58  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  11:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  12:26  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  13:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  14:56  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  15:67  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  16:47  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  17:53  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  18:10  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  19:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  20:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  21:48  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  22:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  23:35  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  24:19  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  25:32  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  26:8   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  27:8   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  28:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  29:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  30:13  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  31:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  32:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  33:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  34:46  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  35:14  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  36:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  37:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  38:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  39:11  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  40:33  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  41:67  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  42:33  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  43:7   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  44:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  45:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 45 problems (45 errors, 0 warnings)

 @ ./client/app/pages/admin/index.js 18:23-52
 @ ./client/app/pages/index.js
 @ ./client/app/index.js

ERROR in ./client/app/pages/admin/tasks/index.js

/app/client/app/pages/admin/tasks/index.js
   1:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:44  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:63  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:65  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:48  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:28  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  11:38  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  12:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  13:19  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  14:17  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  15:21  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  16:14  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  17:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  18:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  19:65  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  20:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  21:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  22:30  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  23:55  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  24:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  25:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  26:52  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  27:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  28:26  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  29:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  30:56  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  31:64  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  32:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  33:74  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  34:10  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  35:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  36:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  37:47  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  38:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  39:35  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  40:19  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  41:32  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  42:8   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  43:8   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  44:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  45:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  46:13  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  47:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  48:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  49:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  50:36  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  51:14  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  52:27  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  53:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  54:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  55:39  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  56:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  57:11  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  58:30  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  59:45  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  60:32  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  61:7   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  62:5   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  63:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 63 problems (63 errors, 0 warnings)

 @ ./client/app/pages/admin/index.js 22:13-31
 @ ./client/app/pages/index.js
 @ ./client/app/index.js

ERROR in ./client/app/utils/live-paginator.js

/app/client/app/utils/live-paginator.js
   1:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:67  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:38  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:36  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:58  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:18  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  11:53  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  12:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  13:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  14:18  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  15:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  16:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  17:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  18:45  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  19:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  20:21  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  21:51  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  22:13  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  23:27  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  24:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  25:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  26:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  27:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 27 problems (27 errors, 0 warnings)

 @ ./client/app/utils/index.js 16:21-48
 @ ./client/app/pages/queries-list/index.js
 @ ./client/app/pages/index.js
 @ ./client/app/index.js

ERROR in ./client/app/utils/paginator.js

/app/client/app/utils/paginator.js
   1:37  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:33  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:84  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:38  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:39  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:35  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:33  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  11:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  12:18  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  13:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  14:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  15:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  16:18  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  17:55  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  18:50  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  19:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  20:41  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  21:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  22:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  23:45  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  24:22  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  25:21  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  26:51  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  27:13  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  28:27  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  29:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  30:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  31:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  32:20  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  33:40  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  34:50  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  35:13  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  36:34  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  37:35  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  38:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  39:1   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  40:29  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  41:56  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  42:33  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  43:41  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  44:8   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  45:6   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  46:4   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  47:2   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 47 problems (47 errors, 0 warnings)

 @ ./client/app/utils/index.js 7:17-39
 @ ./client/app/pages/queries-list/index.js
 @ ./client/app/pages/index.js
 @ ./client/app/index.js

ERROR in ./client/app/pages/admin/tasks/cancel-query-button/index.js

/app/client/app/pages/admin/tasks/cancel-query-button/index.js
   1:31   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   2:11   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   3:19   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   4:13   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   5:20   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   6:19   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   7:7    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   8:22   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
   9:185  error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  10:19   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  11:53   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  12:33   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  13:1    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  14:39   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  15:66   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  16:12   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  17:1    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  18:38   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  19:42   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  20:26   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  21:10   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  22:1    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  23:76   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  24:34   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  25:9    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  26:7    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  27:5    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  28:2    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  29:1    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  30:37   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  31:62   error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style
  32:2    error  Expected linebreaks to be 'LF' but found 'CRLF'  linebreak-style

✖ 32 problems (32 errors, 0 warnings)

 @ ./client/app/pages/admin/tasks/index.js 33:25-57
 @ ./client/app/pages/admin/index.js
 @ ./client/app/pages/index.js
 @ ./client/app/index.js
Child html-webpack-plugin for "multi_org.html":
       [0] ./~/html-webpack-plugin/lib/loader.js!./client/app/multi_org.html 692 bytes {0} [built]
Child html-webpack-plugin for "index.html":
       [0] ./~/lodash/lodash.js 540 kB {0} [built]
       [1] ./~/html-webpack-plugin/lib/loader.js!./client/app/index.html 984 bytes {0} [built]
       [2] (webpack)/buildin/global.js 509 bytes {0} [built]
       [3] (webpack)/buildin/module.js 517 bytes {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/ui-select/dist/select.css 6.57 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/angular-toastr/dist/angular-toastr.css 6 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/angular-resizable/src/angular-resizable.css 1.11 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/angular-gridster/dist/angular-gridster.css 2.31 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/pivottable/dist/pivot.css 1.79 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/leaflet.markercluster/dist/MarkerCluster.css 841 bytes {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/leaflet.markercluster/dist/MarkerCluster.Default.css 1.17 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/cornelius/src/cornelius.css 1.9 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/pace-progress/themes/blue/pace-theme-minimal.css 406 bytes {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./client/app/assets/css/redash.css 8.16 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./~/sass-loader/lib/loader.js!./client/app/assets/css/main.scss 172 bytes {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
        + 1 hidden modules
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
        + 1 hidden modules
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/css-loader?{"minimize":true}!./client/app/pages/dashboards/dashboard-list.css 278 bytes {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0 81 bytes {0} [built]
       [2] ./~/font-awesome/fonts/fontawesome-webfont.eot 83 bytes {0} [built]
       [3] ./~/font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0 83 bytes {0} [built]
       [4] ./~/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0 83 bytes {0} [built]
       [5] ./~/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0 85 bytes {0} [built]
       [6] ./~/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0 84 bytes {0} [built]
       [7] ./~/css-loader?{"minimize":true}!./~/font-awesome/css/font-awesome.css 33.3 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/leaflet/dist/images/layers-2x.png 1.72 kB {0} [built]
       [2] ./~/leaflet/dist/images/layers.png 969 bytes {0} [built]
       [3] ./~/leaflet/dist/images/marker-icon.png 2 kB {0} [built]
       [4] ./~/css-loader?{"minimize":true}!./~/leaflet/dist/leaflet.css 10.7 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [1] ./~/material-design-iconic-font/dist/fonts/Material-Design-Iconic-Font.ttf?v=2.2.0 91 bytes {0} [built]
       [2] ./~/material-design-iconic-font/dist/fonts/Material-Design-Iconic-Font.woff2?v=2.2.0 93 bytes {0} [built]
       [3] ./~/material-design-iconic-font/dist/fonts/Material-Design-Iconic-Font.woff?v=2.2.0 92 bytes {0} [built]
       [4] ./~/css-loader?{"minimize":true}!./~/material-design-iconic-font/dist/css/material-design-iconic-font.css 42.3 kB {0} [built]
Child extract-text-webpack-plugin:
       [0] ./client/app/assets/fonts/roboto/Roboto-Bold-webfont.eot 83 bytes {0} [built]
       [1] ./client/app/assets/fonts/roboto/Roboto-Light-webfont.eot 84 bytes {0} [built]
       [2] ./client/app/assets/fonts/roboto/Roboto-Medium-webfont.eot 85 bytes {0} [built]
       [3] ./client/app/assets/fonts/roboto/Roboto-Regular-webfont.eot 86 bytes {0} [built]
       [4] ./~/css-loader/lib/css-base.js 2.26 kB {0} [built]
       [5] ./client/app/assets/fonts/roboto/Roboto-Bold-webfont.svg 81 bytes {0} [built]
       [6] ./client/app/assets/fonts/roboto/Roboto-Light-webfont.svg 82 bytes {0} [built]
       [7] ./client/app/assets/fonts/roboto/Roboto-Medium-webfont.svg 83 bytes {0} [built]
       [8] ./client/app/assets/fonts/roboto/Roboto-Regular-webfont.svg 84 bytes {0} [built]
      [10] ./client/app/assets/fonts/roboto/Roboto-Bold-webfont.woff 84 bytes {0} [built]
      [11] ./client/app/assets/fonts/roboto/Roboto-Light-webfont.ttf 84 bytes {0} [built]
      [12] ./client/app/assets/fonts/roboto/Roboto-Light-webfont.woff 85 bytes {0} [built]
      [13] ./client/app/assets/fonts/roboto/Roboto-Medium-webfont.ttf 85 bytes {0} [built]
      [14] ./client/app/assets/fonts/roboto/Roboto-Medium-webfont.woff 86 bytes {0} [built]
      [17] ./~/css-loader?{"minimize":true}!./client/app/assets/css/superflat_redash.css 162 kB {0} [built]
        + 3 hidden modules

npm ERR! Linux 4.9.41-moby
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! redash-client@3.0.0 build: `rm -rf ./client/dist/ && NODE_ENV=production node node_modules/.bin/webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the redash-client@3.0.0 build script 'rm -rf ./client/dist/ && NODE_ENV=production node node_modules/.bin/webpack'.
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 redash-client package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rm -rf ./client/dist/ && NODE_ENV=production node node_modules/.bin/webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs redash-client
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls redash-client
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /app/npm-debug.log
The command '/bin/sh -c npm install && npm run build && rm -rf node_modules' returned a non-zero code: 1

#2

Hi @juankmb,
There’s a file under the client folder called .eslintrc.js which is used to configure enforcement of JS styling rules.
In order to solve this one just add on the above file a rule:
rules: { 'linebreak-style': 0, ... }
I hope it helps,
Ofir Kerker


#3

While this might work, it’s better that @juankmb will figure out why his system changes the line breaks…