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.

Build fails on version 0.4.46

See original GitHub issue

Hi @flauc

Importing angular2-notifications on an angular2 project causes the following error on compiling time: error TS6059: File 'c:/.../node_modules/angular2-notifications/src/icons.ts' is not under 'rootDir' 'c:\...\app\'. 'rootDir' is expected to contain all source files. ...

This error could be raised because .ts files are included on the npm package. Downgrading to 0.4.41 fixes the problem.

Thanks for the library btw!

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
jhonmikecommented, Nov 14, 2016

My temporary solution, I removed the .ts files 🙈

const del = require('del');
gulp.task('prod:clean', function () {
    return del([
        'node_modules/angular2-notifications/**/*.ts',
        '!node_modules/angular2-notifications/**/*.d.ts',
        'dist/*',
    ], {force: true});
});

@pablodoble

1reaction
pablodoblecommented, Nov 16, 2016

@jhonmike probably not the best solution but useful until the bug is fixed. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Homebridge update fails on Windows · Issue #123 - GitHub
Can't update homebridge through UI-X, it's failing with operation not permitted, unlink. "Manual" update through cmd works.
Read more >
gradlew build fails offline - ForgeGradle - Forge Forums
it's looking for an xml file which doesn't exist anywhere except online. How do I setup a workspace where it looks for the...
Read more >
712390 – app-arch/dump-0.4.47-r1 : bylabel.c: fatal error
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo! Gentoo's Bugzilla – Bug 712390 app-arch/dump-0.4.47-r1 ...
Read more >
Bugs in package cdbs (version 0.4.163+nmu2) in unstable
Debian Bug report logs: Bugs in package cdbs (version 0.4.163+nmu2) in ... error: subprocess tar was killed by signal (Broken pipe) on package...
Read more >
Bug #1693226 “Break the conflicts with click the optparser”
Name Version Architecture Description ... ii click 0.4.46+17.10 amd64 Click packages ... buildsource Build a Click source package.
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