Reputation: 199
While running the Gruntfile from eclipse, I got the following error. Yeoman also used.
Running "newer:jshint:all" (newer) task
Running "jshint:all" (jshint) task Warning: Arguments to path.resolve must be strings Use --force to continue.
Aborted due to warnings.
Following is the Gruntfile content for jshint
jshint: {
options: {
jshintrc: '.jshintrc',
reporter: require('jshint-stylish')
},
all: [
'Gruntfile.js',
'<%= yeoman.app %>/scripts/{,*/}*.js',
'<%= yeoman.app %>/spssm/scripts/{,*/}*.js'
],
test: {
options: {
jshintrc: '../test/.jshintrc'
},
src: ['../test/spec/{,*/}*.js']
}
},
I have tried few similar cases in stackoverflow but none had anything regarding to yeoman
Upvotes: 0
Views: 123
Reputation: 199
After some struggling, I was able to correct it. I am adding it here for any future reference.
Seems like when installing tern ide from eclipse, I installed few versions (both eclipse marketplace and install new software). When updating to 1.1.0 from 0.10.0, some components of tern wasn't updated to 1.1.0. By default those are not upgraded and had to set it upgrade once the installer loads the dependencies to install. Apart from that I add grunt and jquery for tern modules.
Upvotes: 0