Trouble installing Yeoman; "archive/0.9.5.tar.gz" not found - node.js

I'm trying to install yeoman but it seems that the following url no longer works/may have been removed from github:
I'm running:
npm install -g yeoman
->
npm ERR! fetch failed http://github.com/yeoman/generators/archive/0.9.5.tar.gz
The github repository no longer seems to exist. What should I do? Thank you!
The link is here to make it easy for others to go there.
Thank you for your time and patience reading this; I just started trying to use NodeJS so I am sure the fault is on my end somehow.

npm install -g yo
Please refer to our official documentation on our website: http://yeoman.io/
The yeoman binary has not updated/used in > 4 years.

Related

Can't install firebase-admin with npm

I'm trying to run this command to install firebase-admin: npm install firebase-admin --save
When I try to run this command, I get the following error:
ENOENT: no such file or directory, rename 'D:\MyPath\functions\node_modules\firebase-admin\node_modules\grpc\node_modules\abbrev' -> 'D:\MyPath\functions\node_modules\firebase-admin\node_modules\grpc\node_modules\.abbrev.DELETE'
I have tried reinstalling Node.js, I have tried uninstalling a previous version of Node.js, I have tried updating npm, I have tried pretty much everything online but nothing is helping. If I run the newest version of Node.js, instead of getting this error, I get the following error:
Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
I have honestly tried several GitHub threads for people with the same problem but none of their solutions have worked for me, so I am trying here. Can anybody help me with this issue?
Upon further tinkering with this, it looks like I finally solved my issue so i can finally deploy to Firebase. These are the steps I took to solve this problem:
First, I uninstalled firebase-admin using the npm uninstall firebase-admin command.
I reinstalled firebase-adming using the npm install firebase-admin command. This didn't seem to fix my issue, but you never know.
I deleted the firebase-admin directory in the node_modules directory.
I ran npm install
I installed the firebase-admin directory again, this time using npm install firebase-admin --save
I ran firebase deploy and it worked!
I don't know how many of those steps were truly necessary but in the end, it worked.
Try to install it using yarn it will get installed smoothly as I faced the same issue while using npm I ran
yarn add firebase-admin and it got easily installed

can't update npm (missing access)

Breaking my head to get over that error. I've tried every forum but still I can't find a proper solution. I also uninstalled and reinstall npm and still same issue.
Please save me!
npm error
and also
log
ta!
Just a wild guess:
remove .npm-modules in your home folder
remove modules from the project you are using
npm install, all should be fine
Use homebrew to install npm and nodejs. Write the command as shown below:
brew install node . Once it is successfully installed check it with node -v.
For more details you can go through this tutorial

NPM: npm install hangs on fetchMetaData -> addTmpTa

I downloaded a react js Github project and tried npm install on this project.
npm install hangs on fetchMetaData -> addTmpTa.
My network connectivity is good, tried searching this issue on google but cant find anything. Any help will be highly appreciated. If u know what does addTmpTa during the installation please do comment below.
try to run your npm command from "node.js command prompt", and make sure to run it as administrator.
this has solved my problem;

Node.js' npm is installing the wrong package

I'm sorry for not posting the links to every thing I've quoted, stackoverflow won't let me :(
This a relatively bizarre error. I am trying to install the Ghost Blogging Platform in my nodejs project through npm, and the command for that is
npm install ghost
well, instead of installing the Ghost Blogging Platform, it installs this. Which makes no sense at all.
The link I've reffered to is from a node modules website. There, it says that the command I've used was supposed to install this ecto/ghost thing and it links both to the git repository with the Ghost code I've accidentally installed and to the npm page for the Ghost Blogging Platform, which I wanted to install.
I believe this might be a misconfiguration with npm sources. I'm using an Arch Linux and I've installed both node and npm via git clonning the source and compiling it, as seen on this gist.
My npm version is 2.5.1 and my node version is v0.13.0-pre.
Thanks for any help. :)
The Ghost blogging platform is a commercial product, not a normal Node module. You have to fill out the forms on their site for a free trial, and they'll tell you how to install it. How log they let you use it for is up to them.
Please reference their documentation for using it as an NPM Module:
https://github.com/TryGhost/Ghost/wiki/Using-Ghost-as-an-npm-module
Using Ghost as an npm module
Include Ghost as a dependency in your package.json file
"dependencies": {
"ghost": "0.5.2"
}
Run npm install to install Ghost.
Include the Ghost module where desired and then invoke it to get a promise for a ghostServer object.
var ghost = require('ghost');
ghost().then(function (ghostServer) {
ghostServer.start();
});
At this point Ghost should be running!
A quick check reveals these install commands
wget -qO ~/ghost.zip http://ghost.org/zip/ghost-latest.zip
unzip -qo ~/ghost.zip -d ~/ghost
npm install forever -g
cd ~/ghost
npm install --production
as per Ghost Blogging site
just for the next guy who might find this problem.
I really don't know what happened. I solved the problem by uninstalling and reinstalling node and npm in various different ways. Now it works fine.
I was really tired by the time and had tried a lot of times so I really don't remember any details. Sorry :(

how to use css-flip (bidi flipper) with node.js

Can any one please help me to get started with css-flip.
I have gone through their documentation but it seems to be for expert users. I do not have any experience with node.js.
How i will run the below CLI.
css-flip path/to/file.css > path/to/file.rtl.css
Will be much thankful to any ones help.
Install node.js and install the module globally with
npm install -g css-flip
Or
npm install -g git+https://github.com/twitter/css-flip.git
If you want to install from github.
You should then be able to run it from a command line.
css-flip in.css > out.css

Resources