GithubHelp home page GithubHelp logo

Comments (4)

alastairparagas avatar alastairparagas commented on July 17, 2024

@randdusing I'll try to imitate your working environment and see if I can reproduce the problem. It's most likely due to the fact that you have Cordova CLI 4.1.2 (and Apache having changed something between 3.5 to 4.1.2).

from cordova-minify.

randdusing avatar randdusing commented on July 17, 2024

Thanks @alastairparagas. Maybe this post will help? http://stackoverflow.com/questions/24288131/integrating-file-minification-into-cordova-phonegap-build-process

from cordova-minify.

LukeDeighton avatar LukeDeighton commented on July 17, 2024

@randdusing have you checked it is actually executing the code?

Try this: sudo cordova build ios -d
Then check the debug output. In my case (on mac) I had to make minify.js executable
chmod +x minify.js

from cordova-minify.

randdusing avatar randdusing commented on July 17, 2024

Oops, that was mostly the issue. I didn't see the Quirks section of the readme, which mentions this as well: "On Linux and OSX: hooks folder needs to have permissions modified. Perform a chmod -R 755 /hooks to resolve this issue." After changing the permissions, I still received an error. But after clearing out node_modules and reinstalling cordova-minify, it worked perfectly.

from cordova-minify.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.