Flowise
Flowise copied to clipboard
[BUG] Icons are not going to be showing without a build ( gulp file is not triggered in dev mode )
Describe the bug Icons are not working in the panel in case you don't trigger build before "yarn dev"
To Reproduce
- Clone the project
- yarn install
- yarn dev
- check the panel
Expected behavior Icons should be seen as it should be.
perhaps we can change this line
to tsc --watch && gulp?
I believe it won't work as the dependency to the components is a library dependency, not a local library dependency or a link dependency.
Depending on version of the yarn it should be something like one of these;
yarn version >= 2.x
yarn add flowise-components@file:packages/components flowise-ui@file:packages/ui
yarn version < 2
yarn add file:packages/components file:packages/ui
yet I still am not sure if this could work as intended in the development mode. Because we need all the projects running in development mode so we can debug.
I also remember something about yarn link but I couldn't have time for a test.
It should be gulp && tsc --watch
I have tested "yarn link" and it solves local library problem.
- cd packages/ui
- yarn link
- cd ../components
- yarn link
- cd ../server
- yarn link flowise-ui flowise-components
I think this should be exist in documentation too.