Note that there are some explanatory texts on larger screens.

plurals
  1. POCompile coffeescript with grunt -> RangeError: Maximum call stack size exceeded
    text
    copied!<p>I try to compile my coffeescript file with grunt using the <a href="https://npmjs.org/package/grunt-contrib-coffee" rel="nofollow">grunt-contrib-coffee</a> plugin. But running <code>grunt coffee</code>, I always get this error:</p> <pre><code>RangeError: Maximum call stack size exceeded </code></pre> <p>This is my grunt.js file:</p> <pre><code>/*global module:false*/ module.exports = function(grunt) { // Project configuration. grunt.initConfig({ meta: { version: '0.1.0', banner: '/*! PROJECT_NAME - v&lt;%= meta.version %&gt; - ' + '&lt;%= grunt.template.today("yyyy-mm-dd") %&gt;\n' + '* http://PROJECT_WEBSITE/\n' + '* Copyright (c) &lt;%= grunt.template.today("yyyy") %&gt; ' + 'YOUR_NAME; Licensed MIT */' }, lint: { files: ['grunt.js', 'lib/**/*.js', 'test/**/*.js'] }, qunit: { files: ['test/**/*.html'] }, concat: { dist: { src: ['&lt;banner:meta.banner&gt;', '&lt;file_strip_banner:lib/FILE_NAME.js&gt;'], dest: 'dist/FILE_NAME.js' } }, min: { dist: { src: ['&lt;banner:meta.banner&gt;', '&lt;config:concat.dist.dest&gt;'], dest: 'dist/FILE_NAME.min.js' } }, watch: { files: '&lt;config:lint.files&gt;', tasks: 'lint qunit' }, jshint: { options: { curly: true, eqeqeq: true, immed: true, latedef: true, newcap: true, noarg: true, sub: true, undef: true, boss: true, eqnull: true, browser: true }, globals: {} }, uglify: {}, coffee: { compile: { files: { 'javascript/result.js': 'lib/grayScott.coffee' } } } }); // Default task. grunt.registerTask('default', 'lint qunit concat min'); grunt.registerTask('coffee', 'coffee'); }; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload