Why can't "node.js / Crawler" be installed on Windows? - javascript

I have Windows XP (32bits) and Windows 7 (64bits) but node.js (Crawler) can't be installed on either Windows.
$ npm install crawler
It is sayings O/S not supported or something like that. I can only use it on Linux currently, But how to make it run on Window machines?

Have you tried the windows installer? http://nodejs.org/dist/v0.6.18/node-v0.6.18.msi
The Complete download link for when the next version comes out: http://www.nodejs.org/#download

Related

Npm run dev on nuxt.js project isn't working on Mac M1

I don't know if it has something to do with the mac but on my other windows computer everything is fine the display is good but when I switch to my mac and run an npm run dev there are a few pages that don't work not display.
I show you with the screenshots:
Here is on Mac M1 :
Nothing works on the navigation bar, even when I type in the url to access a page it doesn't work
Here is on Windows pc :
I wanted to know if this has ever happened to anyone because I don't understand the problem. The version of node.js on the mac is 16.13.0 and on my windows computer it's a version 15 but I think below 16 it's not compatible on mac M1. Thanks
remove the .nuxt, package-lock.json and node_modules directory then run
npm install

Watchman installation fails on mac os version 10.12

I'm trying to set up the development environment for react-native on my MacBook Pro 2012.
I'm trying to install watchman with Homebrew as the documentation suggests but I get this error and the build fails:
Error: You are using macOS 10.12.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull-requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
I'm fairly new to mac os and I don't know how to fix this. I read a lot about it and there does not seem to be a fix for my situation.
I am sorry about your installation issue, but homebrew does only support the latest macOS three versions, which would be Mojave (10.14), Catalina (10.15), BigSur (11.0).
With the most recent release Monterey (12.0), the Mojave artifact would be dropped pretty soon. So you can to build from source yourself.
I would recommend you to upgrade to a more recent macOS version to have a smooth formula installation experience.
I have managed to install Facebook watchman in High Sierra 10.13.6 using MacPort tools.
1- Download MacPorts package related to your version from: https://www.macports.org/install.php#installing
2- Extract and install it.
3- Run $sudo port -v selfupdate for any update.
4- Once successfully installed run the command: sudo port install watchman
For more details check the following documentations:
https://facebook.github.io/watchman/docs/install.html
https://www.macports.org/install.php#installing

How to handle .net4.5 requirement issue in windows for electron app?

We have our desktop app (windows) built in electron.
On most of the system, it gets installed perfect. But in some computers, specially windows 7, user gets prompt to install .net 4.5 before installing software. Most of the case, installing this works fine. But in some case, user wont be able to install .net 4.5 since newer version of .net is installed in their system. In that case, we need to do remote connection to their PC and uninstall previous version and install new version with some tweak..i.e, stoping WuAuServ, and something with softwareDistribution and starting WuAuServ again.
It seems its requirement for apps built with electron.
I was wondering if even slack faces the same issue while installing. If not then can somebody guide me on what am i doing wrong?

Is there a way to run Node.js with Bash commands in Windows?

I am trying to learn Node.js. When I download Node.js for Windows, I get the command prompt version for Windows, and I am wondering if there is a way to get a UNIX environment for Node.js in Windows. Most of the tutorials I read and watched just skip over this and I can't find anything on this.
Also, I am having a problem changing hard drives in Node.js command prompt. When I try cd f:myDir, it prints the directory instead of switching to it.
I figured it out. I had to use Cygwin for a UNIX environment while using Node.js. Download Cygwin here: https://www.cygwin.com/
I didn't have to mess with Environment Variables.
As of the Summer 2016 update to Windows 10, a Linux shell environment for Windows is available.
Install Windows 10 version 14316 via Windows Update
Go to Updates & Security > For Developers > Developer Mode
Go to Control Panel > Programs and Features > Turn Windows features on or off > Windows Subsystem for Linux
Restart
Open the Start menu and search for bash

Cant use cordova android in windows?

After hours of struggling I decided to reread the whole cordova documentation, I noticed this.
To add support or rebuild a project for any platform, you need to run the command-line interface from the same machine that supports the platform's SDK. The CLI supports the following combinations:
iOS (Mac)
Android (Mac, Linux) <------
BlackBerry 10 (Mac, Linux, Windows)
Windows Phone 7 (Windows)
Windows Phone 8 (Windows)
Windows 8 (Windows)
Firefox OS (Mac, Linux, Windows)
Is it true that I cant use the cli on windows for android? I have the SDK for android installed on my machine, so IDK why it doesn't say windows?
Are there any workarounds, should I avoid the cli and build my app myself?
The reason why I ask is in the cli I run cordova platform add android I get errors, and have done everything in my power for the last 10 hours to get it to work.
1) You can use CLI commands in windows OS. I personally develop for Android in windows.
2) Its highly recommended to use CLI as it makes the life easy for adding/removing any plugin usage.
3) For the CLI to work correctly, you may require to install Ant, NodeJS.

Categories