teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

3

時刻修正

2021/11/20 12:16

投稿

jpskgc
jpskgc

スコア19

title CHANGED
File without changes
body CHANGED
@@ -32,7 +32,7 @@
32
32
  作業しているリポジトリは以下となります。お手数ですが、ご確認よろしくお願い致します。
33
33
  https://github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/tree/cssloader-error
34
34
 
35
- ## 追記(2021/11/20 21:00~)
35
+ ## 追記(2021/11/20 21:00)
36
36
  `postcss`のバージョンを7系に落としたところ、今度は`postcss-loader`のエラーに変わりました
37
37
  ```
38
38
  ERROR Failed to compile with 1 errors friendly-errors 21:12:16

2

追記を追加

2021/11/20 12:16

投稿

jpskgc
jpskgc

スコア19

title CHANGED
File without changes
body CHANGED
@@ -30,4 +30,27 @@
30
30
 
31
31
  ## コード
32
32
  作業しているリポジトリは以下となります。お手数ですが、ご確認よろしくお願い致します。
33
- https://github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/tree/cssloader-error
33
+ https://github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/tree/cssloader-error
34
+
35
+ ## 追記(2021/11/20 21:00~)
36
+ `postcss`のバージョンを7系に落としたところ、今度は`postcss-loader`のエラーに変わりました
37
+ ```
38
+ ERROR Failed to compile with 1 errors friendly-errors 21:12:16
39
+
40
+
41
+ ERROR in ./.nuxt/components/nuxt-error.vue?vue&type=style&index=0&lang=css& friendly-errors 21:12:16
42
+
43
+ Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): friendly-errors 21:12:16
44
+ ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
45
+ - options has an unknown property 'order'. These properties are valid:
46
+ object { postcssOptions?, execute?, sourceMap?, implementation? }
47
+ at validate (/home/jpskgc/ghq/github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/node_modules/schema-utils/dist/validate.js:105:11)
48
+ at Object.loader (/home/jpskgc/ghq/github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/node_modules/postcss-loader/dist/index.js:43:29)
49
+ friendly-errors 21:12:16
50
+ @ ./node_modules/vue-style-loader??ref--3-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/@nuxt/webpack/node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??ref--3-oneOf-1-2!./node_modules/@nuxt/webpack/node_modules/vue-loader/lib??vue-loader-options!./.nuxt/components/nuxt-error.vue?vue&type=style&index=0&lang=css& 4:14-378 15:3-20:5 16:22-386
51
+ @ ./.nuxt/components/nuxt-error.vue?vue&type=style&index=0&lang=css&
52
+ @ ./.nuxt/components/nuxt-error.vue
53
+ @ ./.nuxt/index.js
54
+ @ ./.nuxt/client.js
55
+ @ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
56
+ ```

1

環境情報追加

2021/11/20 12:15

投稿

jpskgc
jpskgc

スコア19

title CHANGED
File without changes
body CHANGED
@@ -25,6 +25,8 @@
25
25
 
26
26
  こちらのエラーを解消する手段をお手数ですがご教授願いたいです。
27
27
 
28
+ ## 環境
29
+ Ubuntu20.04
28
30
 
29
31
  ## コード
30
32
  作業しているリポジトリは以下となります。お手数ですが、ご確認よろしくお願い致します。