Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Storybook cause an error #3

Open
23prime opened this issue Sep 18, 2022 · 0 comments
Open

Storybook cause an error #3

23prime opened this issue Sep 18, 2022 · 0 comments

Comments

@23prime
Copy link
Owner

23prime commented Sep 18, 2022

$ yarn add --dev @nuxtjs/storybook
$ yarn add --dev ts-node
$ yarn dev
yarn run v1.22.19                                                                                                                                                                                                                                                               
$ nuxt                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                
   ╭────────────────────────────────────────╮                                                                                                                                                                                                                                   
   │                                        │                                                                                                                                                                                                                                   
   │   Nuxt @ v2.15.8                       │                                                                                                                                                                                                                                   
   │                                        │                                                                                                                                                                                                                                   
   │   ▸ Environment: development           │                                                                                                                                                                                                                                   
   │   ▸ Rendering:   client-side           │                                                                                                                                                                                                                                   
   │   ▸ Target:      static                │                                                                                                                                                                                                                                   
   │                                        │                                                                                                                                                                                                                                   
   │   Listening: http://172.18.0.1:3023/   │                                                                                                                                                                                                                                   
   │                                        │                                                                                                                                                                                                                                   
   ╰────────────────────────────────────────╯                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                
ℹ Preparing project for development                                                                                           16:06:40                                                                                                                                          
ℹ Initial build may take a while                                                                                              16:06:40                                                                                                                                          
ℹ Discovered Components: .nuxt/components/readme.md                                                                           16:06:40                                                                                                                                          
✔ Builder initialized                                                                                                         16:06:40                                                                                                                                          
✔ Nuxt files generated                                                                                                        16:06:40                                                                                                                                          
                                                                                                                                                                                                                                                                                
✖ Client                                                                                                                                                                                                                                                                        
  Compiled with some errors in 2.38s                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
 ERROR  Failed to compile with 1 errors                                                                       friendly-errors 16:06:43                                                                                                                                          
                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                
 ERROR  in ./.nuxt/components/nuxt-loading.vue?vue&type=style&index=0&id=41c071cf&lang=css&                   friendly-errors 16:06:43                                                                                                                                          
                                                                                                                                                                                                                                                                                
Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):                                         friendly-errors 16:06:43                                                                                                                                          
ValidationError: Invalid options object. PostCSS Loader has been initialized using an options object that does not match the API schema.                                                                                                                                        
 - options has an unknown property 'order'. These properties are valid:                                                                                                                                                                                                         
   object { postcssOptions?, execute?, sourceMap?, implementation? }                                                                                                                                                                                                            
    at validate (/home/okkey/develop/23prime-page/node_modules/schema-utils/dist/validate.js:105:11)                                                                                                                                                                            
    at Object.loader (/home/okkey/develop/23prime-page/node_modules/postcss-loader/dist/index.js:43:29)                                                                                                                                                                         
                                                                                                              friendly-errors 16:06:43                                                                                                                                          
 @ ./node_modules/vue-style-loader??ref--3-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??ref--3-oneOf-1-2!./node_modules/vue-loader/lib??vue-loader-opti
ons!./.nuxt/components/nuxt-loading.vue?vue&type=style&index=0&id=41c071cf&lang=css& 4:14-338 15:3-20:5 16:22-346                                                                                                                                                               
 @ ./.nuxt/components/nuxt-loading.vue?vue&type=style&index=0&id=41c071cf&lang=css&                                                                                                                                                                                             
 @ ./.nuxt/components/nuxt-loading.vue                                                                                                                                                                                                                                          
 @ ./.nuxt/App.js                                                                                                                                                                                                                                                               
 @ ./.nuxt/index.js                                                                                                                                                                                                                                                             
 @ ./.nuxt/client.js                                                                                                                                                                                                                                                            
 @ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant