質問編集履歴

3

時刻修正

2021/11/20 12:16

投稿

jpskgc
jpskgc

スコア19

test CHANGED
File without changes
test CHANGED
@@ -66,7 +66,7 @@
66
66
 
67
67
 
68
68
 
69
- ## 追記(2021/11/20 21:00~)
69
+ ## 追記(2021/11/20 21:00)
70
70
 
71
71
  `postcss`のバージョンを7系に落としたところ、今度は`postcss-loader`のエラーに変わりました
72
72
 

2

追記を追加

2021/11/20 12:16

投稿

jpskgc
jpskgc

スコア19

test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,49 @@
63
63
  作業しているリポジトリは以下となります。お手数ですが、ご確認よろしくお願い致します。
64
64
 
65
65
  https://github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/tree/cssloader-error
66
+
67
+
68
+
69
+ ## 追記(2021/11/20 21:00~)
70
+
71
+ `postcss`のバージョンを7系に落としたところ、今度は`postcss-loader`のエラーに変わりました
72
+
73
+ ```
74
+
75
+ ERROR Failed to compile with 1 errors friendly-errors 21:12:16
76
+
77
+
78
+
79
+
80
+
81
+ ERROR in ./.nuxt/components/nuxt-error.vue?vue&type=style&index=0&lang=css& friendly-errors 21:12:16
82
+
83
+
84
+
85
+ Module build failed (from ./node_modules/postcss-loader/dist/cjs.js): friendly-errors 21:12:16
86
+
87
+ ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.
88
+
89
+ - options has an unknown property 'order'. These properties are valid:
90
+
91
+ object { postcssOptions?, execute?, sourceMap?, implementation? }
92
+
93
+ at validate (/home/jpskgc/ghq/github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/node_modules/schema-utils/dist/validate.js:105:11)
94
+
95
+ at Object.loader (/home/jpskgc/ghq/github.com/jpskgc/vue-nuxt-vuetify-sass-storybook/node_modules/postcss-loader/dist/index.js:43:29)
96
+
97
+ friendly-errors 21:12:16
98
+
99
+ @ ./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
100
+
101
+ @ ./.nuxt/components/nuxt-error.vue?vue&type=style&index=0&lang=css&
102
+
103
+ @ ./.nuxt/components/nuxt-error.vue
104
+
105
+ @ ./.nuxt/index.js
106
+
107
+ @ ./.nuxt/client.js
108
+
109
+ @ 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
110
+
111
+ ```

1

環境情報追加

2021/11/20 12:15

投稿

jpskgc
jpskgc

スコア19

test CHANGED
File without changes
test CHANGED
@@ -52,6 +52,10 @@
52
52
 
53
53
 
54
54
 
55
+ ## 環境
56
+
57
+ Ubuntu20.04
58
+
55
59
 
56
60
 
57
61
  ## コード