Last active
December 21, 2015 04:38
-
-
Save smvv/6250487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = require('./core.json').reduce(function (acc, x) { | |
acc[x] = true; | |
return acc; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grunt | |
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
TypeError: Object #<Object> has no method 'reduce' | |
at Object.<anonymous> (/usr/lib64/node_modules/grunt-cli/node_modules/resolve/lib/core.js:1:103) | |
at Module._compile (module.js:411:26) | |
at Object..js (module.js:417:10) | |
at Module.load (module.js:343:31) | |
at Function._load (module.js:302:12) | |
at require (module.js:355:19) | |
at Object.<anonymous> (/usr/lib64/node_modules/grunt-cli/node_modules/resolve/index.js:1:74) | |
at Module._compile (module.js:411:26) | |
at Object..js (module.js:417:10) | |
at Module.load (module.js:343:31) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment