forumium icon indicating copy to clipboard operation
forumium copied to clipboard

Install front-end doesn't work: Tailwind Dependencies error

Open PovilasKorop opened this issue 3 years ago • 6 comments

Hey, wanted to review the package, but when running npm install && npm run build I got this error.

Screenshot 2023-02-01 at 10 21 09

There is a small chance that the error could be on my side somewhere (Node/Npm versions, cache or smth), but I don't think so.

PovilasKorop avatar Feb 01 '23 08:02 PovilasKorop

npm install --legacy-peer-deps

This should solve your issue.

grycroft avatar Feb 01 '23 09:02 grycroft

@grycroft so you're saying the issue is on my side, and nothing to be fixed in the package?

Could be.

PovilasKorop avatar Feb 01 '23 10:02 PovilasKorop

Not sure if something could be changed in the package requirements to make this work as normal, but I certainly found myself that using the --legacy-peer-deps flag resolved the NPM install problem and it is all working okay as far as I can tell. I only installed this repo this morning to test it out myself.

grycroft avatar Feb 01 '23 10:02 grycroft

@PovilasKorop hmm yes I think there is nothing wrong in the package, I just checked it in my local dev. But I will give it a try in a nother environment to be sure nothing wrong, and I will let you know ASAP.

heloufir avatar Feb 01 '23 10:02 heloufir

@heloufir To be clear, I had the exact same issue when running npm install as @PovilasKorop - using the --legacy-peer-deps flag was the only way I could get it to run the install successfully and work, so I don't think it is just his env.

grycroft avatar Feb 01 '23 10:02 grycroft

@grycroft okey I will check that too, and verify if I can do something to let it work normally. Thanks for the info

heloufir avatar Feb 01 '23 10:02 heloufir