osx - Grunt fails trying to load an empty module -
I am stuck together with my Jenkins setup at OSX Lion 10.7.3.
To use a gaskin test, use a grunt in my webpage, make less, create cash manifolds and more. Everything works on my laptop lion 10.7.5, but server box grants fails periodically with the following error: It is intermittent, it fails once in about five runs and the work is not specific. This fails at the same rate when the hardest manifest or grunt test goes. Once I see that it works, when it starts, it takes one to two or so, but when it fails it fails immediately. I tried to remove the node_module, the NMP cache is clear, re-installing the hoarse-clay works anything. Here's my package. Jason: {"name": "webapp", "version": "0.0.0", "dependency": {}, "devadai": {"grunting": "0.4. "0.4.0rc7", "suffocation-concat": "0.1.2 RC6", "coffee": "0.4.0 RC 7", "Grunt-Contrib- Euglifi ":" 0.1.1 RC6 "," Content-Contrib-Compass ":" 0.1.1 RC8 "," Content-Contraab-Jashant ":" 0.1.1 RC6 "," Grant-Contrib-Minx " : "0.4.0 RC7", "Grant-Contrib-Connect": "0.1.1 RC6", "Content-Contrib-Clean": "0.4.0 RC6", "Grant-Contrib-htmlmin": " 0.1.1 RC7, "G "Contents-Contrib-Jasmine": "~ 0.3.2", "Content-Contrib", "Content-Contrib-Liveload": "0.1.0 RC 8", "Content-Contrib-Imageman": "0.1.1 RC8" -Com ":" 0.5.0 "," Cant-Manifest ":" 0.4.0 "," Grunt -Jeslint ":" 0.2.5 "," blanket-bower-hook ":" ~ 0.2. "~ 0.1 7 "," suffocation ":" ~ 0.1.1 "," suffocation ":" ~ 0.3.1 "," Grunt-Mocha ":" ~ 0.2.2 "," Grunt-Open ": "~ 0.1.0", "matchdeep": "~ 0.1.1"}, "engine": {"node": "& gt; Npm and node version: I have now stripped both packages.json and Gruntile.js: No luck: ( We were killing this issue of our CI creation. After a bit of excavation it seems that it is a bug in grunt-cli 0.1.6 and grunt-cli 0.1.7 . $ grunt less module.js: throwing 340; ^ Error: Can not find 'module on function' Module._resoloveFilename (module.js: 338: 15) on function. Module ._load (module .js: 280: 25) requires the .quare (module .js: 362: 17) module (module .js: 378: 17) in the hair process. & Lt; Anonymous & gt; (/ Usr / local / lib / node_modules / grunt-cli / bin / grunt: 44: 3) at ChildProcess.EventEmitter.emit (events.js: 99: 17) at process._handle.onexit (child_process.js: 678: 10)
$ Npm -version 1.2.11 $ node-description v0.8.20
$ cat package. Jason {"name": "webpage", "version" : "0.0.0", "dependencies": {}, "Gods": {"suffocation": "0.4.0rc7", "suffocation-manifests": "0.4.0", "matchdeep": "~ 0.1.1 "}," Engine ": {" node ":" & gt; = 0.8.0 "}} $ cat Gruntfile.js 'Strict use'; module.exports = function (grunt) {// Load all cracked functions ('matchdeep'). Filterive ('hoarse - *' ) .h (Grant.loadnm Task); Grunt.initConfig ({{manifest: {option: {option: {basepath: 'ap /', exclude: ['js / bb / amp / com.vaults API. Apigrated.cache.js', 'js / bbH / amp /com.vaultus.api.debugWebApiAggregated.cache.js'], timestamp: true}, src: [' index-hybrid.html ',' * .xml ', 'Js / ** / * .js', 'css /' / ** / * ',' i18n / ** / * .js ',' temp Grate.registerTask ('build', ['manifest']); Grunt.registerTask ('default', '' default ''); Grunt.registerTask ('/' / * / *. * Html '], dest:' app / cache-manifest.mf '}}}); Grunt.registerTask ['Build']);}
Comments
Post a Comment