r/javascript • • Feb 23 '16

A Gentle Introduction to Node.js

https://keyholesoftware.com/2016/02/22/a-gentle-introduction-to-node-js/
17 Upvotes

15 comments sorted by

View all comments

0

u/[deleted] Feb 23 '16

[deleted]

-3

u/MaRmARk0 Feb 23 '16 edited Feb 23 '16

MacBooks are not common outside US.

Edit: why so many downvotes? In Europe it's not common to have a Mac. Devs around here use *nix (Debian, Ubuntu...) for development.

3

u/dont_forget_canada Feb 23 '16

they're pretty common in Canada and the UK actually

also why the downvote? I'm not wrong. NodeJS running directly on windows is weird. You never deploy node applications that run on windows (always something unix backed) so you should be developing on a VM at the very least.

Developing a nodejs app on windows is like shooting yourself in the foot if you plan on deploying it on something running linux, which you most certainly will probably end up doing.

So if folks want to develop things in a shitty way then go for it I guess?

4

u/AndrewGreenh Feb 23 '16

I developed all of my node apps on windows and I never had any problems deploying them on Ubuntu... They were all pretty small projects so I am interested in what could be going wrong?

1

u/dvlsg Feb 24 '16 edited Feb 24 '16

I also do this. Plenty of people develop node on windows. It was designed to run in a windows environment. It's silly to assume that you would be shooting yourself in the foot because you develop on windows, and I wouldn't worry about it at all.

I've been developing node applications on windows for years now, deploying multiple successful projects to *nix servers along the way. The only real issue is needing to have some version of visual studio installed on my development machines to compile native modules via node_gyp, and even that issue is fairly minor.