blog.scottspence.me icon indicating copy to clipboard operation
blog.scottspence.me copied to clipboard

https://blog.scottspence.me/wsl-bootstrap-2019

Open utterances-bot opened this issue 5 years ago • 3 comments

Windows Web-dev bootstrap | blog.scottspence.me

From scratch to Create React App on Windows An opinionated guide on setting up a web development environment on Windows 10 I have been a professional web developer for 10 months now and used both MacOs and Windows in that time. My preferred OS to use…

https://blog.scottspence.me/wsl-bootstrap-2019

utterances-bot avatar Mar 10 '19 19:03 utterances-bot

Hii, I followed this article and it was easy to follow thanks to your awesome blogging skills. I encountered one problem during this process which was related to node. I already have node installed in my windows so when i run that curl command it gives me an error saying that node binaries are already present in the path remove and install again, but is there any way that i can access the installed node in wsl too or do i have to remove my installed node which has some global modules installed.

JIBIN-P avatar Mar 10 '19 19:03 JIBIN-P

Hi,

Thanks for this awesome post. One thing, it would be great if you could edit your post. I have set the fish shell as default (not bash). This can be done the following way:

First of all in the bash set the default with this command:

chsh -s $(which fish)

So fish is now the default. After that you have to edit your .hyper.js file and adapt the following lines

{
  shell: 'C:\\Windows\\System32\\wsl.exe',
  shellArgs: [],
}

After this changes its not neceserry to set an alias in the .bashrc file. Thanks again.

schmanat avatar Apr 13 '19 18:04 schmanat

Hey @schmanat thanks for reading, and thanks for your suggestion.

I did think about adding fish as a default but there are some certain operations that need the bash shell and I didn't want to have reader have to commit to the fish shell (awesome though it is!)

Your comment is here now for other people to see and use if they decide they're going to go full on fish 😄

Thanks again 🙏

spences10 avatar May 06 '19 17:05 spences10