Need help installing the VUE plug in for TestCafe - testing

I am new to the product and have minimal coding knowledge. I need to install the testcafe-vue-selectors plugin but the instructions on the github page are lacking detail. The say Install "$ npm install testcafe-vue-selectors" Where do I run this command?
Thanks and sorry for my lack of knowledge.

I assume that you have already installed TestCafe by running a single command in your terminal (command-prompt):
npm install -g testcafe
To install the plug-in, you need to execute a similar command in your terminal (in your project folder):
npm install testcafe-vue-selectors
No additional steps are required. Just ensure that Node.js and npm are installed on your computer.

Related

Installing freeCodecamp locally hangs when I get to the npm ci step

I've been trying to install freeCodeCamp repo locally coz I'm doing the Full-stack curriculum and I am in a remote area where the grid is not reliable.
I've got the repo on my compute already. I've also installed MongoDB and Nodejs and Npm, following instructions and steps posted on Github by the freeCodeCamp Team. When I get to the step where dependencies need to be installed using "npm ci", the progress bar runs untill halfway, then it stops forever (sometimes it freezes the whole system).
I've tried with Git Bash, Powershell, and Powershell ISE with same results. I did uninstall and re-install Nodejs and NPM a couple of times for no avail. The versions are Node v16.17.0 and Npm 8.18.0.
Any HELP will be appreciated.
I'm having similar issues with v16.17.0 and npm v8.18.0. Downgrading to v8.13.0 seemed to fix it for me but I can't find any previously raised issues as to why this may be the case.
To downgrade:
npm i -g npm#8.13.0 && npm install
Seems to occur from v8.14.0 onwards

Node-RED input/output not showing

I am new to node-red and i just installed it with npm on manjaro and i was wondering how to get the
in my Palette.
EDIT:
i installed it using npm from the documentation:
npm install -g --unsafe-perm node-red
i executed the command at the home directory (~) and as far as am told those options should have been in the default packages. i didn't do anything else besides running node-red locally.
After all i was using a newer version on Node-red and the categories and some names are a slightly different. Thank you very much!

How to Install Bulksplash using NPM on a Mac

I'm trying to install an NPM package called Bulksplash. But I have no idea how to install it. I've tried using several guides on general package installations but they're bit tech savvy and I couldn't understand it.
https://github.com/MehediH/Bulksplash
If possible, can anyone please help me how to install this on my Mac? Thanks in advance.
Using the view command, i.e. running:
npm view bulksplash
via the macOS "Terminal" application reports:
npm ERR! 404 'bulksplash' is not in the npm registry.
Therefore you'll need to install the package from Github directly, as per this answer.
i.e. Run the following command in your "Terminal" application:
npm install git+https://github.com/MehediH/Bulksplash.git

"Node Commands" printed at prompt when trying to run grunt/ gulp on Windows 7

I've installed nodejs, and have used npm to install grunt using
npm install grunt
When I try to run grunt, I am presented with what appears to be instructions on running node commands: (see image)
the same applies when trying to run gulp
I have done the same steps on other computers, and had no problem running grunt previously
Please suggest ideas as to what's going on.
Thanks
As suggested by Joe Clay, the problem was that there was another app called node.exe whose pathwas in PATH variable before nodejs.
see also:
Nodejs seems to be not working; npm do work, however

npm not recognised after installing Heroku Toolbelt

I've installed Heroku Toolbelt (https://toolbelt.heroku.com/) on a Windows 7 system.
I've followed the tutorial up to here: https://devcenter.heroku.com/articles/getting-started-with-nodejs#declare-app-dependencies
When I run the command npm install it gives the following error:
'npm' is not recognized as an internal or external command, operable program or batch file.
I understand this means it can't find/execute npm. But this is going from Heroku's own tutorial/documentation, in sequence, and doesn't say you need to install anything else to get this working. When I go to the npm website (https://www.npmjs.com/) it also says:
The npm command-line tool is bundled with Node.js. If you have it installed, then you already have npm too.
Something is wrong with this!
Try to reinstall nodejs. Alternatively, you can install nvm for windows, which is a version manager for nodejs. It's pretty useful and easy to install. Check it out at https://github.com/coreybutler/nvm-windows