ChrisVilches/Learn

Storybook dependencies crash everything

Opened this issue · 0 comments

(Just a memo. No need to solve it)

In this commit I had to downgrade some Storybook dependencies, because they didn't work when building problem-generator:

c542b3d

npm run build --prefix packages/problem-generator

Error:

> problem-generator@1.0.0 build                                                                                                                                                       
> tsc                                                                                                                                                                                 
                                                                                                                                                                                      
../../node_modules/@types/glob/index.d.ts:29:42 - error TS2694: Namespace '"/home/felo/learn-test/node_modules/minimatch/dist/cjs/index"' has no exported member 'IOptions'.          
                                                                                                                                                                                      
29     interface IOptions extends minimatch.IOptions {                                                                                                                                
                                            ~~~~~~~~                                                                                                                                  
                                                                                                                                                                                      
../../node_modules/@types/glob/index.d.ts:74:30 - error TS2724: '"/home/felo/learn-test/node_modules/minimatch/dist/cjs/index"' has no exported member named 'IMinimatch'. Did you mea
n 'Minimatch'?                                                                                                                                                                        
                                                                                                                                                                                      
74         minimatch: minimatch.IMinimatch;