A
A
anriko2020-12-14 22:57:22
npm
anriko, 2020-12-14 22:57:22

How to fix build errors?

Error in plugin "sass"
Message:
    src\scss\functions\_functions.scss
Error: File to import not found or unreadable: ../../node_modules/sass-rem/rem.
        on line 1 of src/scss/functions/_functions.scss
        from line 1 of src/scss/style.scss
>> @import '../../node_modules/sass-rem/rem';

   ^

[22:54:29] Finished 'stylesheets' after 1.63 s
[22:54:35] Finished 'html' after 7.41 s
[22:54:36] Version: webpack 4.44.2
Built at: 2020-12-14 22:54:36
  Asset     Size  Chunks             Chunk Names
main.js  288 KiB       0  [emitted]  main
Entrypoint main = main.js

ERROR in ./src/js/main.js
Module Error (from ./node_modules/eslint-loader/dist/cjs.js):

C:\rarus-test-master\src\js\main.js
  2:19  error  Unable to resolve path to module 'axios'  import/no-unresolved

✖ 1 problem (1 error, 0 warnings)


ERROR in ./src/js/store/index.js
Module Error (from ./node_modules/eslint-loader/dist/cjs.js):

C:\rarus-test-master\src\js\store\index.js
  2:18  error  Unable to resolve path to module 'vuex'  import/no-unresolved

✖ 1 problem (1 error, 0 warnings)

 @ ./src/js/main.js 4:0-28 8:2-7

ERROR in ./src/js/store/modules/dataList/dataList.js
Module Error (from ./node_modules/eslint-loader/dist/cjs.js):

C:\rarus-test-master\src\js\store\modules\dataList\dataList.js
  2:19  error  Unable to resolve path to module 'axios'  import/no-unresolved

✖ 1 problem (1 error, 0 warnings)

 @ ./src/js/store/index.js 5:0-51 9:4-12
 @ ./src/js/main.js

ERROR in ./src/js/main.js
Module not found: Error: Can't resolve 'axios' in 'C:\rarus-test-master\src\js'
 @ ./src/js/main.js 2:0-26 5:22-27 9:2-7

ERROR in ./src/js/store/modules/dataList/dataList.js
Module not found: Error: Can't resolve 'axios' in 'C:\rarus-test-master\src\js\store\modules\dataList'
 @ ./src/js/store/modules/dataList/dataList.js 2:0-26 50:4-9
 @ ./src/js/store/index.js
 @ ./src/js/main.js

ERROR in ./src/js/App.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/App.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve 'vuex' in 'C:\rarus-test-master\src\js'
 @ ./src/js/App.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/App.vue?vue&type=script&lang=js&) 50:0-46 66:17-27 68:16-26
 @ ./src/js/App.vue?vue&type=script&lang=js&
 @ ./src/js/App.vue
 @ ./src/js/main.js

ERROR in ./src/js/Components/ViewDataItem.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/Components/ViewDataItem.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve 'vuex' in 'C:\rarus-test-master\src\js\Components'
 @ ./src/js/Components/ViewDataItem.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/Components/ViewDataItem.vue?vue&type=script&lang=js&) 87:0-46 107:17-27 109:16-26
 @ ./src/js/Components/ViewDataItem.vue?vue&type=script&lang=js&
 @ ./src/js/Components/ViewDataItem.vue
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/App.vue?vue&type=script&lang=js&
 @ ./src/js/App.vue?vue&type=script&lang=js&
 @ ./src/js/App.vue
 @ ./src/js/main.js

ERROR in ./src/js/Components/ViewDataList.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/Components/ViewDataList.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve 'vuex' in 'C:\rarus-test-master\src\js\Components'
 @ ./src/js/Components/ViewDataList.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/Components/ViewDataList.vue?vue&type=script&lang=js&) 38:0-46 44:17-27 46:16-26
 @ ./src/js/Components/ViewDataList.vue?vue&type=script&lang=js&
 @ ./src/js/Components/ViewDataList.vue
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/js/App.vue?vue&type=script&lang=js&
 @ ./src/js/App.vue?vue&type=script&lang=js&
 @ ./src/js/App.vue
 @ ./src/js/main.js

ERROR in ./src/js/store/index.js
Module not found: Error: Can't resolve 'vuex' in 'C:\rarus-test-master\src\js\store'
 @ ./src/js/store/index.js 2:0-24 6:8-12 7:19-23
 @ ./src/js/main.js
[22:54:37] webpack is watching for changes
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys'
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\pagefile.sys'
Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\swapfile.sys'
[22:55:04] ✔ fon.png -> before=1.66 MB after=761.44 KB reduced=942.42 KB(55.3%)
[22:55:04] Finished 'image' after 36 s

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question