Warning: path must be a string Use --force to continue.
See original GitHub issueI have grunt task for babel as it’s described on Babel official page:
babel : {
options: {
sourceMap: true
},
dist : {
files : {
'app/scripts/controllers/target-babel.js' : 'app/scripts/controllers/src.js'
}
}
},
After running grunt babel I get:
Running "babel:dist" (babel) task
Warning: path must be a string Use --force to continue.
Aborted due to warnings.
Issue Analytics
- State:
- Created 9 years ago
- Comments:8
Top Results From Across the Web
Grunt Warning: Path must be a string. Received a null
Running "jshint:main" (jshint) task Warning: Path must be a string. Received null Use --force to continue. Aborted due to warnings.
Read more >Path must be a string. Received undefined Use --force to ...
Hi, for some reason i get this error: Path must be a string. Received undefined Use --force to continue. this is the grunt.js...
Read more >Warning: path must be a string Use --force to continue. - Hand ...
This error is usually caused by the path being incorrect. Remember that the path should be relative to the grunt file itself. This...
Read more >[Solved]-Gruntfile.js Warning: The "path" argument must be of ...
Coding example for the question Gruntfile.js Warning: The "path" argument must be of type string. Received type object Use --force to continue-grunt.js.
Read more >gruntjs/grunt - Gitter
Warning : The "path" argument must be of type string Use --force to continue. Could someone help me with this warning. http://lpaste.net/362776.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It would be nice if the error message were more useful.
Oops. You are absolutely right. I switched the source and dest paths. 😁