View Issue Details

IDProjectCategoryView StatusLast Update
16041Development Otherpublic2020-05-18 16:27
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.0.0dev 
Summary16041: Unable to build filemanager
Description

WHen i try to build filemanager : i get error.

Steps To Reproduce
[shnoulle@poledra filemanager]$ yarn install
yarn install v1.21.1
[1/4] Resolving packages...
[2/4] Fetching packages...
warning sha.js@2.4.11: Invalid bin entry for "sha.js" (in "sha.js").
[###############################################################################################################################################################info fsevents@1.2.11: The platform "linux" is incompatible with this module.
info "fsevents@1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > babel-core@7.0.0-bridge.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > babel-jest@24.9.0" has unmet peer dependency "@babel/core@^7.0.0".
warning " > sass-loader@8.0.2" has unmet peer dependency "webpack@^4.36.0 || ^5.0.0".
[4/4] Building fresh packages...
Done in 22.12s.
[shnoulle@poledra filemanager]$ yarn run build
yarn run v1.21.1
$ yarn run dev && yarn run prod
$ vue-cli-service build --mode=developement

⠴  Building for developement...

 ERROR  Failed to compile with 12 errors                                12:27:48

 error  in ./src/components/FolderList.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/FolderList.vue
  14:26  error  The "presetFolder" property should be a constructor  vue/require-prop-type-constructor

✖ 1 problem (1 error, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 23:0-53 29:16-26
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/components/NavBar.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/NavBar.vue
  22:16  error  The "UploadModal" component has been registered but not used  vue/no-unused-components
  64:3   error  'error' is not defined                                        no-undef
  81:11  error  'transitType' is assigned a value but never used              no-unused-vars
  83:10  error  'result' is defined but never used                            no-unused-vars
  93:7   error  'LS' is not defined                                           no-undef

✖ 5 problems (5 errors, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 22:0-45 28:12-18
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/components/subcomponents/_iconRepresentation.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/subcomponents/_iconRepresentation.vue
  5:9  error  This 'v-if' should be moved to the wrapper element  vue/no-use-v-if-with-v-for

✖ 1 problem (1 error, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FileList.vue?vue&type=script&lang=js& 18:0-58 25:13-20
 @ ./src/components/FileList.vue?vue&type=script&lang=js&
 @ ./src/components/FileList.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/components/subcomponents/_tableRepresentation.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/subcomponents/_tableRepresentation.vue
  14:7  error  This 'v-if' should be moved to the wrapper element  vue/no-use-v-if-with-v-for

✖ 1 problem (1 error, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FileList.vue?vue&type=script&lang=js& 17:0-60 24:14-22
 @ ./src/components/FileList.vue?vue&type=script&lang=js&
 @ ./src/components/FileList.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/components/subcomponents/_treeView.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/subcomponents/_treeView.vue
   5:32  error  'cnt' is defined but never used                      vue/no-unused-vars
  53:30  error  The "presetFolder" property should be a constructor  vue/require-prop-type-constructor
  68:23  error  'result' is defined but never used                   no-unused-vars

✖ 3 problems (3 errors, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FolderList.vue?vue&type=script&lang=js& 2:0-49 7:14-22
 @ ./src/components/FolderList.vue?vue&type=script&lang=js&
 @ ./src/components/FolderList.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/components/subcomponents/_uploadModal.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/components/subcomponents/_uploadModal.vue
  90:33  error  'LS' is not defined  no-undef
  90:56  error  'LS' is not defined  no-undef
  92:34  error  'LS' is not defined  no-undef

✖ 3 problems (3 errors, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NavBar.vue?vue&type=script&lang=js& 18:0-55 23:17-28 47:23-34
 @ ./src/components/NavBar.vue?vue&type=script&lang=js&
 @ ./src/components/NavBar.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/filemanagermain.js

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/filemanagermain.js
  38:18  error  'LS' is not defined                               no-undef
  40:7   error  'fileManager' is assigned a value but never used  no-unused-vars

✖ 2 problems (2 errors, 0 warnings)

 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/helperComponents/abstractRepresentation.vue

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/helperComponents/abstractRepresentation.vue
   14:5   error  'LS' is not defined                 no-undef
   56:17  error  'dialog' is defined but never used  no-unused-vars
   61:23  error  'result' is defined but never used  no-unused-vars
  106:7   error  '$' is not defined                  no-undef

✖ 4 problems (4 errors, 0 warnings)

 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/subcomponents/_tableRepresentation.vue?vue&type=script&lang=js& 80:0-83 83:11-33
 @ ./src/components/subcomponents/_tableRepresentation.vue?vue&type=script&lang=js&
 @ ./src/components/subcomponents/_tableRepresentation.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FileList.vue?vue&type=script&lang=js&
 @ ./src/components/FileList.vue?vue&type=script&lang=js&
 @ ./src/components/FileList.vue
 @ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue?vue&type=script&lang=js&
 @ ./src/App.vue
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/mixins/runAjax.js

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/mixins/runAjax.js
   5:18  error  'LS' is not defined  no-undef
   5:43  error  'LS' is not defined  no-undef
   6:24  error  '$' is not defined   no-undef
   8:13  error  '$' is not defined   no-undef
  11:9   error  '$' is not defined   no-undef

✖ 5 problems (5 errors, 0 warnings)

 @ ./src/storage/actions.js 2:0-37 7:6-10 19:6-10 38:6-10 55:6-10 72:6-10 92:6-10
 @ ./src/storage/store.js
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/storage/actions.js

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/storage/actions.js
  48:18  error  'deleteResult' is defined but never used   no-unused-vars
  72:18  error  'deleteResult' is defined but never used   no-unused-vars
  97:18  error  'transitResult' is defined but never used  no-unused-vars

✖ 3 problems (3 errors, 0 warnings)

 @ ./src/storage/store.js 6:0-32 21:13-20
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ./src/storage/mutations.js

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/filemanager/src/storage/mutations.js
  31:24  error  'file' is defined but never used  no-unused-vars
  34:24  error  'file' is defined but never used  no-unused-vars
  52:21  error  'LS' is not defined               no-undef

✖ 3 problems (3 errors, 0 warnings)

 @ ./src/storage/store.js 5:0-36 20:15-24
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

 error  in ../meta/lib/ConsoleShim.js

Module Error (from ./node_modules/eslint-loader/index.js):

/mnt/data/shnoulle/nginx/www/master/assets/packages/meta/lib/ConsoleShim.js
  152:1  error  Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

✖ 1 problem (1 error, 0 warnings)

 @ ./src/mixins/logSystem.js 7:0-59 8:14-25
 @ ./src/filemanagermain.js
 @ multi ./src/filemanagermain.js ./scss/filemanagermain.scss

###############
 Build at -> Mi., 25.03.2020, 12:27:48
###############

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
TagsNo tags attached.

Relationships

child of 16291 assignedollehar Revert file manager to LS3 

Activities

ollehar

ollehar

2020-03-25 14:43

administrator   ~56767

try running just yarn

DenisChenu

DenisChenu

2020-03-25 15:26

developer   ~56768

$ yarn
yarn install v1.21.1
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.99s.
ollehar

ollehar

2020-03-25 15:36

administrator   ~56769

and then yarn build after

ollehar

ollehar

2020-03-25 15:37

administrator   ~56770

you might have to run it three times for it to succeed. don't ask why...

DenisChenu

DenisChenu

2020-03-25 15:45

developer   ~56771

3 times and it's OK .... 8|

I test same with https://bugs.limesurvey.org/view.php?id=16038

ollehar

ollehar

2020-03-25 15:47

administrator   ~56773

3 times and it's OK .... 8|

hilarious, right? ;D also see the new dev ticket about refactoring vue.

Issue History

Date Modified Username Field Change
2020-03-25 12:29 DenisChenu New Issue
2020-03-25 14:43 ollehar Note Added: 56767
2020-03-25 15:26 DenisChenu Note Added: 56768
2020-03-25 15:36 ollehar Note Added: 56769
2020-03-25 15:37 ollehar Note Added: 56770
2020-03-25 15:45 DenisChenu Note Added: 56771
2020-03-25 15:47 ollehar Note Added: 56773
2020-05-18 16:27 ollehar Relationship added child of 16291