Skip to content

Instantly share code, notes, and snippets.

@peterblazejewicz
Created January 6, 2018 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterblazejewicz/54a0db7fe4f7d540b95ff02c2da11616 to your computer and use it in GitHub Desktop.
Save peterblazejewicz/54a0db7fe4f7d540b95ff02c2da11616 to your computer and use it in GitHub Desktop.
ERROR TS6059
npm start
> yamui@4.2.0 start /Users/piotrblazejewicz/git/YamUI
> npm run start:dev
> yamui@4.2.0 start:dev /Users/piotrblazejewicz/git/YamUI
> styleguidist server --config config/styleguide/config.js
You can now view style guide in the browser.
Local: http://localhost:5555/
On your network: http://192.168.1.10:5555/
Warning: src/components/Callout/Callout.tsx matches a pattern defined in “components” or “sections” options in your style guide config but doesn’t export a component.
It usually happens when using third-party libraries, see possible solutions here:
https://react-styleguidist.js.org/docs/thirdparties.html
Failed to compile.
/Users/piotrblazejewicz/git/YamUI/tsconfig.json
[tsl] ERROR
TS6059: File '/Users/piotrblazejewicz/git/YamUI/dist/components/Icon/icons/index.ts' is not under 'rootDir' '/Users/piotrblazejewicz/git/YamUI/src'. 'rootDir' is expected to contain all source files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment