AntoineW / luge

Luge
301 stars 11 forks source link

npm luge #47

Open imanebadarou opened 11 months ago

imanebadarou commented 11 months ago

Hi, when i want to install luge with npm "npm install @waaark/luge" and "import luge from '@waaark/luge'"

In my folder @waaark/luge there's only the README and package.json file

Am i missing something ?

Thanks for your help !

Regards, Imane Badarou

AntoineW commented 10 months ago

Hi, There was an issue with the publish script. It should be fixed now 🙏

imanebadarou commented 10 months ago

this is what i get

image

AntoineW commented 10 months ago

Did you reinstall the package to the latest version?

imanebadarou commented 10 months ago

yes i did, by doing : npm install @waaark/luge

stefenphelps commented 10 months ago

The latest update fixed the issue. @imanebadarou this is what your /node_modules/@waaark/ directory should look like now as of 0.6.18-beta.2

Screenshot 2024-01-01 at 12 16 28 PM
imanebadarou commented 10 months ago

yeah my folders do look like that here's my code [image: image.png]

Le lun. 1 janv. 2024 à 18:17, Stefen Phelps @.***> a écrit :

The latest update fixed the issue. This is what your @.***/ directory should look like now as of 0.6.18-beta.2 Screenshot.2024-01-01.at.12.16.28.PM.png (view on web) https://github.com/AntoineW/luge/assets/5756949/e2668416-a492-4ab4-8323-d60586b277cc

— Reply to this email directly, view it on GitHub https://github.com/AntoineW/luge/issues/47#issuecomment-1873406999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5M6FUILXXQWDKP7LMGXJLYMLVULAVCNFSM6AAAAABA74T4HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGQYDMOJZHE . You are receiving this because you modified the open/close state.Message ID: @.***>

imanebadarou commented 10 months ago

i don't know why it doesn't work is it because of my code ?

Le lun. 1 janv. 2024 à 18:51, Imane @.***> a écrit :

yeah my folders do look like that here's my code [image: image.png]

Le lun. 1 janv. 2024 à 18:17, Stefen Phelps @.***> a écrit :

The latest update fixed the issue. This is what your @.***/ directory should look like now as of 0.6.18-beta.2 Screenshot.2024-01-01.at.12.16.28.PM.png (view on web) https://github.com/AntoineW/luge/assets/5756949/e2668416-a492-4ab4-8323-d60586b277cc

— Reply to this email directly, view it on GitHub https://github.com/AntoineW/luge/issues/47#issuecomment-1873406999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM5M6FUILXXQWDKP7LMGXJLYMLVULAVCNFSM6AAAAABA74T4HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGQYDMOJZHE . You are receiving this because you modified the open/close state.Message ID: @.***>

AntoineW commented 10 months ago

@imanebadarou can you reshare your code?

imanebadarou commented 10 months ago

IMG_4886

here my code

AntoineW commented 10 months ago

It looks like a typescript error. Did you try ignoring the error by adding a // @ts-ignore comment? https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-6.html#suppress-errors-in-ts-files-using--ts-ignore-comments

imanebadarou commented 10 months ago

i added the comment but it doesnt seem to repair anything image

AntoineW commented 10 months ago

Does it solve at least the first error? The second error is a typescript warning, you can try to do what is said inside the warning message.

imanebadarou commented 10 months ago

I have this error, when i execute the command image

AntoineW commented 10 months ago

Try the second part of the message error (add a new declaration file etc.).