kiln / flourish-sdk

The SDK for developing Flourish templates
Other
80 stars 16 forks source link

@flourish/layout doesn't install - it seems to be using a private package #88

Closed git-ashish closed 11 months ago

git-ashish commented 11 months ago

Hello,

I am working on a client project and we are unable to use the layout module. It is listed as a public module however it seems to be using a private package utils-color. Because of this, we are unable to install the layout module and use it for basic purposes like header, footer and legend layouts.

Could you please suggest a solution?

Thanks, Ashish

daanlouter commented 11 months ago

Hi @git-ashish, we've made @flourish/utils-color public now, so hopefully this will fix your problem.

git-ashish commented 11 months ago

Thanks for such a quick response @daanlouter! Unfortunately, the next error shows up as:

Error: Could not resolve './core/init.js' from node_modules/@flourish/layout/src/index.js

image

image

What do you suggest? Thanks!

hughsk-canva commented 11 months ago

Oh, sorry @git-ashish! It looks like there was a typo in the latest version that caused some of the files to be excluded from the published package. This should be fixed in @flourish/layout@6.0.1. Let me know if you have any further issues :)

git-ashish commented 11 months ago

Thanks @hughsk-canva! Its fixed and working now :)