LivelyKernel / lively.next

lively.next is a personal programming kit. It emphasizes liveness, directness, and interactivity.
https://lively-next.org
MIT License
66 stars 16 forks source link

How to update project dependency #1675

Closed linusha closed 4 days ago

linusha commented 2 months ago

I am also seeing this error (in Edge, but earlier I also saw it in Chrome). I'm happy to update the dependency, how do I do it?

image

Originally posted by @rickmcgeer in https://github.com/LivelyKernel/lively.next/issues/1673#issuecomment-2310353442

linusha commented 2 months ago

@rickmcgeer I am a bit confused - how do you come to this step if your project does not load as reported in #1674? I am still trying to understand the exact problem with that ticket...

However, to update the project dependency, you will need to do that by hand for now. Just go into the package.json file of your project and change the version value for the partsbin to the updated one. The whole dependency management thing is more or less a crutch for now.

However, I think that you should be good to update that, I do not think that we changed anything that should break stuff.

linusha commented 2 months ago

After looking at the dashboard repository, I actually do not think that you need this dependency at all? It might have been auto-generated at some time in the past (although I think there is code cleaning unused dependencies up now, but that might not be triggered due to reasons™️).

In the case that I have not missed anything, you should also be able to set projectDependencies to an empty array in any text editor outside of lively and be good to go.

rickmcgeer commented 2 months ago

Thanks, will do

On Tue, Aug 27, 2024 at 8:57 AM Linus Hagemann @.***> wrote:

After looking at the dashboard repository, I actually do not think that you need this dependency at all? It might have been auto-generated at some time in the past (although I think there is code cleaning unused dependencies up now, but that might not be triggered due to reasons™️).

In the case that I have not missed anything, you should also be able to set projectDependencies to an empty array in any text editor outside of lively and be good to go.

— Reply to this email directly, view it on GitHub https://github.com/LivelyKernel/lively.next/issues/1675#issuecomment-2312948975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFAHA4MT4DWRGSSMIUPW2LZTSOVNAVCNFSM6AAAAABNGNYBAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJSHE2DQOJXGU . You are receiving this because you were mentioned.Message ID: @.***>

-- Rick McGeer @.*** +15103346004

linusha commented 4 days ago

Happy to reopen if the problem persists.