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

AoT compilation issue #81

Open
namlard opened this issue Sep 14, 2017 · 8 comments
Open

AoT compilation issue #81

namlard opened this issue Sep 14, 2017 · 8 comments

Comments

@namlard
Copy link

namlard commented Sep 14, 2017

Hi !
I'm submitting you an issue i'm currently facing when i use your module.
Here is the error log :

Error: ENOENT: no such file or directory, open '/home/nicolasa/project/dummy/dist/node_modules/angular2-busy/index.metadata.json'
at Object.fs.openSync (fs.js:651:18)
at Object.fs.writeFileSync (fs.js:1300:33)
at MetadataWriterHost.writeMetadata (/home/nicolasa/project/dummy/node_modules/@angular/tsc-wrapped/src/compiler_host.js:120:22)
at MetadataWriterHost._this.writeFile (/home/nicolasa/project/dummy/node_modules/@angular/tsc-wrapped/src/compiler_host.js:97:23)
at Object.writeFile (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:67339:132)
at Object.writeFile (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:9117:14)
at printSourceFileOrBundle (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:64234:16)
at emitSourceFileOrBundle (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:64185:21)
at Object.forEachEmittedFile (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:9083:17)
at Object.emitFiles (/home/nicolasa/project/dummy/node_modules/typescript/lib/typescript.js:64170:12)
Compilation failed
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: ngc -p ./tsconfig-aot.json && npm run rollup
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/nicolasa/.npm/_logs/2017-09-14T07_54_44_533Z-debug.log

You'll be able to find a small project that reproduce this issue at : https://embed.plnkr.co/IdODE3Wyz9oNuINfnYp7/

Can you give me a hand to know if it comes from your module or one of my config file ?

@Mattnmoore
Copy link

It seems like ng2-busy breaks AOT compilation. Is there a fix planned?

@mario-nguyen
Copy link

@Mattnmoore: This was fixed in this unmerged PR: #67.

@Mattnmoore
Copy link

Any plans to merge it in?

@yuechong
Copy link

ngx-busy

https://www.npmjs.com/package/ngx-busy

@gravypower
Copy link

moved to ng-busy and it worked well with angular 5.2.0

@deyvidfk
Copy link

I do not understand why instead of trying to contribute to the current project by correcting the problems the developers create a project rewriting.

@gravypower
Copy link

@deyvidfk there is an open pull request to fix this (#67), this has been open since Jun 22, 2017. Maybe the author of ng-busy got sick of waiting for the pull request to be merged in.

@deyvidfk
Copy link

deyvidfk commented Jan 16, 2018

@gravypower There are several requests for correction, and due to abandonment, for each problem, new repositories are created from this.

Anyway, I also appreciate your contribution.

I definitely need something more stable. I'll look into if I can migrate to your repository and if I can help with something.

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