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

Running grunt task for production is not working #1

Open
shanmugarajbe opened this issue Apr 7, 2016 · 2 comments · May be fixed by #3
Open

Running grunt task for production is not working #1

shanmugarajbe opened this issue Apr 7, 2016 · 2 comments · May be fixed by #3

Comments

@shanmugarajbe
Copy link

Final compiling and compressing of Javascript using "grunt build-production" is throwing an error. When I used this command, it throwing me an error as like,

Verifying property mozutheme.fullcompile exists in config...ERROR
Unable to process task.
Warning: Required config property "mozutheme.fullcompile" missing. Use --force to continue.

@shanmugarajbe
Copy link
Author

@sanjaymandadi - Is there any fix for this issue.

@oyahmed
Copy link

oyahmed commented Sep 5, 2018

In case anyone else runs into this issue, the solution is by adding the 'fullcompile' property to your mozutheme configuration in the Gruntfile.

At around line 97 in the GruntFIle you will find the mozutheme configuration section. All you need to do is add something like

fullcompile: {
        command: 'compile'
      }

so your entire mozutheme configuration will look something like this

    mozutheme: {
      check: {
        command: 'check'
      },
      fullcompile: {
        command: 'compile'
      },
      quickcompile: {
        command: 'compile',
        opts: {
          skipminification: true
        }
      }
    }

Hope this helps!

@IslandUsurper IslandUsurper linked a pull request Feb 1, 2019 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants