Closed julkue closed 8 years ago
@julmot I had the same issue too. Did you figured out how to solve this?
@AdrianoMoura Unfortunately no. As you can see in the overview I have opened a few more issues. I didn't get the build to work. So I switched to the native phonegap cli.
But I noticed that it has something todo with my test project. I tested it with another (empty) project with just an index.html
inside and the build worked (until another error, see above). But what exactly it is, is unknown to me.
same problem here. I was really hoping to switch to grunt build so that I could get rid of third party libraries from my repo, take sass into use and write a few jasmine tests that could easily be executed from the command line, but the build never finishes preventing me from doing the switch over... what is that repository cloning anyway? I don't want the plugin to clone any repos...
@kamiljano I think you've misunderstand "Cloning root directory". It will clone your application into the phonegap build folder, not clone any remote repository.
@julmot either way, it doesn't finish the build process.
try to change the clone_root.js file by adding the line ncp.limit = 512; below the call of NCP module.
ncp = require ('ncp').ncp; ncp.limit = 512;
work like a charm.
Thanks @grdonda works to me!!!
@grdonda If this solves the issue, would you please be so kind and do a PR?
the solution already exists in the NCP module, the grunt-phonegap module has not been updated. the grunt-phonegap module (https://www.npmjs.com/package/grunt-phonegap) is with the outdated dependencies. look at the above address. that way, when installing I updated the internal modules within the grunt-phonegap module. (https://travis-ci.org/AvianFlu/ncp/pull_requests)
well, then could you do a PR with updating the related dependencies?
I will send the PR to grunt-phonegap perform update of internal dependencies related to this issue. tks
thx, please refer the PR in this issue after that.
I will not get this moment. Would you help me ? or notify them?
I didn't understand you. Help you with what?
I am currently unable to send the PR now.
2016-01-18 13:38 GMT-03:00 Julian notifications@github.com:
I didn't understand you. Help you with what?
— Reply to this email directly or view it on GitHub https://github.com/logankoester/grunt-phonegap/issues/137#issuecomment-172580703 .
@grdonda No problem, it has time... The PR from September 2015 are still not merged...
ok. tks.
2016-01-18 17:07 GMT-03:00 Julian notifications@github.com:
@grdonda https://github.com/grdonda No problem, it has time... The PR from September 2015 are still not merged...
— Reply to this email directly or view it on GitHub https://github.com/logankoester/grunt-phonegap/issues/137#issuecomment-172640115 .
Build still hang when I use "npm install grunt-phonegap --save-dev Checked the npm module for grunt phonegap and found that ncp.limit = 512 is not present inside root file
After running
$ grunt phonegap:build
everything seems to be ok, but unfortunately the build hangs at a certain step:My grunt task:
What can be the reason? How to debug this issue?