-
Notifications
You must be signed in to change notification settings - Fork 652
grunt hits "ENOTSUP" issue due to old version of glob being used #1787
Comments
Would you be able to provide a repro? either a repo or a list of steps here would help in verifying a fix. |
Hey @ahmelsayed - I actually was able to work around this by using npm shrinkwrap and overriding the glob dependency for my grunt dependency. Working like a charm now (had to prune on the remote first though, for anyone trying this at home.) I also filed a bug on grunt to hopefully update this in the future: gruntjs/grunt#1401 |
It looks like the old version glob is still being used as a dependency by @xirzec - could you please help me understand how |
@floydpink sorry for the late reply, but
Then when kudu ran Another alternative that I've been using (instead of kudu) is another one of @davidebbo's tools: https://github.com/davidebbo/WAWSDeploy This lets me directly upload my entire app folder that I've built locally, negating the need to build on the server at all. It's a little less efficient because I am copying up the node_modules folder the first time, but it's actually not that slow. I find it very similar to how npm publish works. If you go that route make sure you have WebDeploy already installed on your machine. Granted this will only work on Windows, so apologies if you're on Mac/Linux. |
Thank you, @xirzec - I tried to get npm-shrinkwrap to work for a while and then moved on. Although, automatic/continuous deployments are a no-go at this point because of this glob related issue, we have gone to a And this is working well from both Windows and Mac and gels well with the rest of the grunt tasks on the project. |
I having same problem while pushing on Azure. Any solution on this? ** Grunt :: An error occurred. ** �[31mAborted due to warnings.�[39m �[33mWarning: ENOTSUP: operation not supported on socket, scandir 'D:\home\site\wwwroot.tmp\public\concat\production.css'� �[39mLooks like a Grunt error occurred-- *-> Are "grunt" and related grunt task modules installed locally? Run *-> You might have a malformed LESS, SASS, CoffeeScript file, etc. *-> Or maybe you don't have permissions to access the
Error: The hook |
Similar to #1573 I'm seeing an issue when running grunt in a custom deployment command:
remote: Running "ts:src" (ts) task remote: Error: ENOTSUP: operation not supported on socket, scandir 'D:\home\site\wwwroot\src\app.tsx'
Looks like the culprit is this glob bug not being updated in grunt's dependencies: isaacs/node-glob#205
The text was updated successfully, but these errors were encountered: