Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ionic-angular package not found #1370

Closed
KawtharE opened this issue Sep 15, 2016 · 7 comments
Closed

ionic-angular package not found #1370

KawtharE opened this issue Sep 15, 2016 · 7 comments

Comments

@KawtharE
Copy link

I have started a new blank ionic project using the command _ ionic start MyApp blank --v2 --ts_ and to add a new page, i used the command ionic generate page Login i installed all the necessary packages but it keep show this error and i can't add my Login page:

No ionic-angular package found, do you have Ionic installed? (CLI v2.0.0-beta.37)

Your system information:

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS
Node Version: v0.10.25

Help please, i really appreciate that :)

@jwhubert91
Copy link

Any responses on this? I'm having the same problem right now, it's very frustrating. Especially considering it literally worked yesterday.

@KawtharE
Copy link
Author

KawtharE commented Sep 28, 2016

Hi, i have managed that error by doing this, you can do the same:
First, i have removed ionic and cordova using these commands line:
$sudo npm uninstall -g cordova
$sudo npm uninstall -g ionic
$sudo npm cache clean

Then, re-installed:
$sudo npm install -g cordova
$sudo npm install -g ionic@beta
$sudo npm install -g n
$sudo n stable
the two previous command will install the last stable version of node, for now it is node v6.6.0 on ubuntu.
$sudo npm install -g typescript
$sudo npm install -g typeings

So the problem it is all about the version of node, this solution worked well for me, but i would like to advice you to try just the two mentioned commands to install a stable version of the node if it works for you then no need to remove ionic and reinstalled it.

Good luck :)

@amsubway
Copy link

@KawtharE
sudo npm install -g typings

@KawtharE
Copy link
Author

:) sorry that was my mistake, thank you :)

@ah3243
Copy link

ah3243 commented Oct 22, 2016

worked like a charm

@KawtharE
Copy link
Author

Happy to hear that :) good luck

@hsuDev
Copy link

hsuDev commented Jun 4, 2017

same problem occurs
tried your way but shows sudo is not recognised

@imhoffd imhoffd closed this as completed Jun 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants