Unable to install ionic -g - ionic-framework

npm ERR! code E404
npm ERR! 404 Not Found: #ionic/cli-framework#0.1.3
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-05-10T07_52_51_175Z-debug.log

That version of Ionic doesn't exist. Try installing from the versions listed here NPM's Websites
Then npm install -g ionic#3.20.0 for the latest version of ionic

Do you already have an existing version of Ionic?
Try updating your current version or:
sudo npm uninstall -g ionic && sudo npm install ionic
Or:
npm install -g #ionic/cli-framework#3.20.0
As suggested by the other user.

my problem is solved.i uninstall nodejs and remove .npmrc file in C:\Users{user} and then,i reinstall nodejs.This errors is OK.

Related

#ionic/cli not installed after installing

I tried to update my ionic cli by removing the ionic package and replacing it with #ionic/cli, but now ionic is no longer a recognized command. Here's what I've tried so far:
Node version - v13.13.0
npm version - 6.13.4
exporting prefix to $PATH,
prefix - /usr/local
$path - /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:...
npm root -g returns /usr/local/lib/node_modules
brew doctor, brew upgrade node,
npm update -g verbose, npm cache clean --force
Every time I run npm i -g ionic or npm i -g #ionic/cli the installation is successful, but I cannot use ionic commands. Any idea on why this is?

How this error occure in ionic installation?

I can't install ionic in windows 10 please help me to install and configure the ionic s/w
I already changed my node version and node-gyp command. but nothing changed
An error occurred while running node install (exit code 1)
Run this
first uninstall ionic completly
npm uninstall -g cordova
npm uninstall -g ionic
install again
npm install -g ionic

error 404 Not Found: #ionic/cli-utils#1.13.1 during npm install

After installing cordova using
npm install cordova -g
I tried to install ionic, using
npm install ionic -g
but got
404 Not Found: #ionic/cli-utils#1.13.1
combining both statements as
npm install cordova ionic -g
generates the same error.
What could be the problem here? I use Artifactory as node modules proxy by the way, which generally works well in my environment.

Ionic Package unable install

I have downloaded latest node version 4 and tried to install ionic.
But it was loading for long time in command prompt.
npm install ionic -g
Then I have downloaded 0.10.38 and it started downloading.
Whether ionic supported only in the 0.10 version.
While Installing with higher version getting below error
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs
node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" "-g"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
C:\Users\<users>\AppData\Roaming\npm
└── (empty)
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs
node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" "-g"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
C:\Users\<users>\AppData\Roaming\npm
└── (empty)
npm ERR! Windows_NT 6.1.7600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs
node_modules\\npm\\bin\\npm-cli.js" "install" "ionic" "-g"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! Callback called more than once.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Windows\system32\npm-debug.log
npm ERR! code 1
The error message says "node v5.0.0". Make sure you are using Node 4 and not 5. Ionic doesn't yet work with Node 5.x.x. Use node -v to check for version.
First you need to run npm uninstall -g ionic
then install new nodejs vesrion from the https://nodejs.org/en/download/
Once you have completed your latest nodejs installation.
Try to install ionic using
npm install -g ionic
if you are using mac os or ubntu then you can use sudo npm install -g ionic.
On Windows it may be a pain to get a working environment sometimes. To speed up Ops, you can try to use the ionic-box https://github.com/driftyco/ionic-box.
Ionic-Box is a ready-to-go development environment with Ionic, Cordova, and Android.
Steps to install proper nodejs, cordova and ionic may help , try to follow mention below steps
1) Install compatible version of nodejs (windows)
2) Configured path of nodeJs from Computer property Advance environment variable.
3) check npm -v is working
4) run npm install -g cordova
5) if not started configured nodejs/npm to use http instead of https package using ssl false
6)run npm install -g ionic
You can run the following command to downgrade the version :
npm install npm#4.5.0 -g
or
npm install npm#latest -g
You can use Yeoman generator to create your ionic project, which is very easy to use.
here you can find out more :
http://yeoman.io/learning/index.html
to install yeoman :
npm install -g yo
Usage :
Make a new directory, and cd into it
mkdir my-ionic-project && cd $_
Run yo ionic, optionally passing an app name:
yo ionic [app-name]
more information :
https://github.com/diegonetto/generator-ionic
i think u should try this first node.js then commands
$ sudo npm install -g cordova after it completes then install this
$ sudo npm install -g ionic since i used sudo it may ask for password
check weather u done these steps
node.js
npm install -g cordova
npm install -g ionic
ionic --version //to check u have installed correctly
ionic start myapp blank //or tabs or sidemenu
now it will download all required files
check this link https://nodejs.org/en/
Please refer the below link, first you need to install cordova once successfully installed then install ionic.
Link - https://evothings.com/doc/build/cordova-install-windows.html
Hi I have a some problem like this one check this I hope this help you.
https://github.com/ionic-team/ionic-cli/issues/2477
Run this:
npm install --save-dev #ionic/app-scripts

Can't install Ionic

I can't install ionic on window. I see this error message.
npm ERR! tar.unpack untar error C:\Users\EUNOVA~2\AppData\Local\Temp\npm-4944-a5
4758ba\registry.npmjs.org\cordova-js-\cordova-js-4.0.0.tgz
npm ERR! tar.unpack untar error C:\Users\EUNOVA~2\AppData\Local\Temp\npm-4944-a5
4758ba\registry.npmjs.org\npm-\npm-1.3.4.tgz
How can I fix it?
Solution worked for me
Follow the steps
Install all necessary dependencies.
http://ionicframework.com/docs/guide/installation.html
Uninstall node.js from PC if already installed
Restart PC
Download and Install node.js (MSI Installer) from http://nodejs.org/dist/v0.10.38/ for x86 or http://nodejs.org/dist/v0.10.38/x64/ for x64
Right-click Command prompt, and then click Run as administrator.
Install Cordova using the command: npm install -g cordova
Finally install Ionic Framework using the command: npm install -g ionic
Reinstall node.js http://nodejs.org/dist/v0.12.7/ for x86 or http://nodejs.org/dist/v0.12.7/x64/ for x64
Done!