I get the following error after having updated VS2017: "Warning: The "path" argument must be of type string. Received type object. Use --force to continue." The jshint section of my Gruntfile:
jshint: {
files: ['temp/*.js',
'Scripts/common.js',
'Scripts/renderImage.js',
'Scripts/classifEditPreamble.js',
'Scripts/displayPreamble.js',
'Scripts/editionFilter.js',
'Scripts/newRegistration.js',
'Scripts/adminPanel.js'],
options: {
'-W069': false,
'esnext': true
}
}
Adding one line (reporterOutput) to options solved the problem. The error message is misleading!
options: {
'-W069': false,
'reporterOutput': "",
'esnext': true
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.