Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Cannot find module ionic-angular/components/toolbar/toolbar-item.ngfactory #214

Closed
basvdijk opened this issue Oct 21, 2016 · 6 comments
Closed

Comments

@basvdijk
Copy link

Short description of the problem:

When running ionic build android I'll get the error:

Cannot find module '../../node_modules/ionic-angular/components/toolbar/toolbar-item.ngfactory'.

Which @ionic/app-scripts version are you using?

ionic-app-scripts 0.0.36

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

[16:23:34]  ngc failed
[16:23:34]  ionic-app-script task: "build"
[16:23:34]  Error: Error

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build" "--color"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `ionic-app-scripts build`
npm ERR! Exit status 1
@cjpollard
Copy link

Seeing the same issue.

@jgw96
Copy link
Contributor

jgw96 commented Oct 21, 2016

Hello all! Can you make sure that your package.json matches the one here and then remove node_modules and run npm install? Thanks!

@basvdijk
Copy link
Author

Thanks this helped! It turned out all the 2.0.0 packages were listed as 2.1.1 in py package.json

@cjpollard
Copy link

That fixed it, thanks.

@jgw96
Copy link
Contributor

jgw96 commented Oct 26, 2016

Hello, thanks for using Ionic! I am going to close this issue for now as it seems to have been fixed.

@janein
Copy link

janein commented Nov 16, 2016

Hi,

after upgrading to rc2 I got a similar error, the same as described in this issue: https://github.com/arkon/ng2-inline-svg/issues/13

Deleting everything and reinstalling didn't solve it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants