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
Are you trying to run this directly on Windows and now WSL?
yea running on windows
It's not possible to run this directly on Windows, documentation clearly states that by Windows it's actually WSL which simulates Linux
oh yea sorry i installed the wsl
but how do i run through wsl
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?
Normally, clone repo in WSL or copy repo from whatever folder you've cloned to earlier and paste it to folder under WSL
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 😦
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.