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;
Related
I tried many ways but it is coming the same always Any way how to fix it?
Check if you have npm install by typing npm --version
If you don't have npm follow this link to download Node.js to your computer. https://nodejs.org/en/download/
After installation you can use npx command.
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
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
I'm having trouble with my node.js/npm setup,
I freshly installed it via the website and it worked fine.
It told me to make sure /usr/local/bin/npm has to be in my path and when I run
echo $PATH it is in there, so it should be fine.
I can now install packages (tested with npm i webpack -save-dev) the installation works as expected, without any errors.
But when i run webpack all It is giving back is command not found has anyone experienced
something like this before?
I believe what you are looking for is a global package install.
Try using
npm i -g webpack
You can get help on install with
npm help i
Did you install node v8/npm v5?
In that case, it seems there's an open big-bug ticket on the npm repository.
Problem
I recently updated to the latest version of node which is supposed to come with npm pre-installed. Although all the files are there, when I try to call something like npm help in node I get a hanging .... If I try to run it directly from command prompt I get this error:
Any Idea on what the possible issue could be? I am running on windows 7 btw.
Ideas
Pathing issues?
Conflict with previous installation?
Should I just install manually rather than the executable?
Thanks in advance for your help!
Don't call npm with node, if you want to see if npm is installed properly (and is in your path) execute the following command in the terminal:
npm -v
If you want to install a module: npm install express