angularjs - findup-sync failing on Jenkins Server -


i'm building jenkins job angularjs app , seems have issue everytime try run grunt task.

after executing

npm install && bower install && grunt 

when grunt tasks running i'm getting exception:

c:\.jenkins\workspace\my-app\node_modules\grunt\node_modules\findup-sync\lib\findup-sync.js:33     }).flatten().uniq().value();        ^ typeerror: undefined not function     @ object.module.exports [as findup] (c:\.jenkins\workspace\my-app\node_modules\grunt\node_modules\findup-sync\lib\findup-sync.js:33:8)     @ task.task.init (c:\.jenkins\workspace\my-app\node_modules\grunt\lib\grunt\task.js:427:16)     @ object.grunt.tasks (c:\.jenkins\workspace\my-app\node_modules\grunt\lib\grunt.js:120:8)     @ object.module.exports [as cli] (c:\.jenkins\workspace\my-app\node_modules\grunt\lib\grunt\cli.js:38:9)     @ object.<anonymous> (c:\users\administrador\appdata\roaming\npm\node_modules\grunt-cli\bin\grunt:45:20)     @ module._compile (module.js:460:26)     @ object.module._extensions..js (module.js:478:10)     @ module.load (module.js:355:32)     @ function.module._load (module.js:310:12)     @ function.module.runmain (module.js:501:10) 

i googled couldn't answers , i'm not sure if it's bug grunt or missing dependency.

solved using both npm , grunt this:

call npm install  call grunt 

Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -