Local Setup issue (Windows):

I followed the commands mentioned in the twenty documentation. But whenever i run : npx nx start twenty-front or npx nx start It converts "/" -> "" in imports and exports causing error. example : export * from './Pill\Pill';
8 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS3w ago
Are you trying to run this directly on Windows and now WSL?
kautilya
kautilya3w ago
yea running on windows
ɃØĦɆᵾS
ɃØĦɆᵾS3w ago
It's not possible to run this directly on Windows, documentation clearly states that by Windows it's actually WSL which simulates Linux
kautilya
kautilya3w ago
oh yea sorry i installed the wsl but how do i run through wsl
ɃØĦɆᵾS
ɃØĦɆᵾS3w ago
And your error is a classic error related to Windows and Linux slash characters https://www.howtogeek.com/181774/why-windows-uses-backslashes-and-everything-else-uses-forward-slashes/
How-To Geek
Why Windows Uses Backslashes and Everything Else Uses Forward Slashes
Have you ever noticed that it's C:Windows in Windows?
ɃØĦɆᵾS
ɃØĦɆᵾS3w ago
Normally, clone repo in WSL or copy repo from whatever folder you've cloned to earlier and paste it to folder under WSL
kautilya
kautilya3w ago
ohh okay let me try thanks 🙂 i think i am gonna need some more help this is new for me wsl thing and its getting on my nerves now L 😦
Harsh Singh
Harsh Singh3w ago
Hey @kautilya use chatGPT or Claude AI to setup WSL. You might be frustrated at the start but don't give up. Also I would suggest you to learn basic linux commands.
Want results from more Discord servers?
Add your server