eazychart icon indicating copy to clipboard operation
eazychart copied to clipboard

🤔 [ISSUE] - @eazychart-[global] - yarn No such file or directory: 'setup'

Open yassinedorbozgithub opened this issue 2 years ago • 4 comments

Description

When we try to install eazychart we get an error No such file or directory: 'setup'

Reproduction steps

1. run the command 
yarn setup

Screenshots

Screenshot from 2022-10-08 12-00-52

Logs

00h00m00s 0/0: : EROOR: [errno 2] NO such file or directory: 'setup' No response

Browsers

No response

OS

Linux

yassinedorbozgithub avatar Oct 08 '22 08:10 yassinedorbozgithub

It seems to be an issue with the new version of Yarn https://github.com/yarnpkg/yarn/issues/3708

We need to specify the required node / yarn versions in the README file + add the requirement to the package.json file.

Node : v16.13.0 Yarn : 1.21.1

marrouchi avatar Oct 08 '22 21:10 marrouchi

@marrouchi, I can take this one if you want to assign it to me.

mSaurabh avatar Sep 30 '24 02:09 mSaurabh

Hello @mSaurabh Thank you for your interest.

I don't know if you understood the issue, but to put it simply, we should remove lerna and use rather NPM workspaces or YARN workspaces. We have done multiple attempts but it wasn't fruitful.

What needs to be done is to start fresh, create the packages (react and vue) using vite and then establish the mono repo using npm or yarn workspaces.

This may take you some time, are you up for the challenge ?

marrouchi avatar Sep 30 '24 06:09 marrouchi

@marrouchi, thanks for that detailed outline. I'll time-box it until the end of this week. I'd like to start with replicating/understanding the issue. I'll let you know again if I can help with the fix.

mSaurabh avatar Sep 30 '24 14:09 mSaurabh