question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Here’s the repo https://github.com/scttcper/ngx-toastr

Angular cli is used to manage the tests/github pages/demo

Command used is ng github-pages:deploy --aot package.json is in repo I’m on osx with node v7.5.0 and have tried with both yarn and npm.

ERROR in ./src/$$_gendir/app/app.module.ngfactory.ts
Module not found: Error: Can't resolve '../../../lib/toast-component.ngfactory' in '/Users/scoope7/toastr-ng2/src/$$_gendir/app'
 @ ./src/$$_gendir/app/app.module.ngfactory.ts 37:0-67
 @ ./src/main.ts
 @ multi ./src/main.ts

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
scttcpercommented, Feb 9, 2017

@catull sorry. Its @angular/cli beta.30

I was unaware of the github-pages being removed. Either way, ng build --prod --aot throws the same error.

edit: turns out having the lib folder outside of the src folder was causing this…

1reaction
vpozzeboncommented, Aug 17, 2017

Comigo o problema era o @angular/cli@1.02… Atualizei para @1.2.7 e resolveu…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gender equality - UNICEF
In its most insidious form, gender inequality turns violent. Some 1 in 20 girls between the ages of 15 and 19 – around...
Read more >
Gender equality and women's empowerment - United Nations
Gender equality is not only a fundamental human right, but a necessary foundation for a peaceful, prosperous and sustainable world.
Read more >
gender issue(s) | European Institute for Gender Equality
General. Gender issues include all aspects and concerns related to women's and men's lives and situation in society, to the way they interrelate,...
Read more >
Gender Issues | Home - Springer
Gender Issues is interdisciplinary and cross-national in scope focusing on gender and gender equity. The journal publishes basic and applied research ...
Read more >
Global Issues: Gender Equality and Women's Empowerment
Globally, women have fewer opportunities for economic participation than men, less access to basic and higher education, greater health and safety risks, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found