简体   繁体   English

在Azure中使用grunt的ENOTUP警告

[英]ENOTUP warning using grunt in Azure

In a simple copy task in Azure Werservice I get that warning that stop my build process 在Azure Werservice中的一个简单复制任务中,我收到警告,指示停止构建过程

Warning: ENOTSUP: operation not supported on socket, scandir 警告:ENOTSUP:套接字,scandir上不支持该操作

My copy task config 我的复制任务配置

  dist: {
   nonull: true,
   files: [{
    expand: true,
    src: [
      '<%= app.dir %>/*.js',
      '<%= app.dir %>/dev/*.js',
      '<%= app.dir %>/models/*.js',
      '<%= app.dir %>/src/*.js',
      'build/*/*',
      'public/*/*',
      'IISNode.yml',
      'server.js',
    ],
    dest: '<%= dist.tmp %>',
  }]

} }

Node version : 5.1.1 节点版本:5.1.1

How can i fix this problem? 我该如何解决这个问题? Any help or suggestion would be very appreciated 任何帮助或建议将不胜感激

Currently, I just found that maybe you need to remove iisnode.yml from the src list. 目前,我只是发现也许您需要从src列表中删除iisnode.yml As issnode.yml is not the javascript script which is a configuration file for iisnode, and which will raise a grunt warning and throw an exception on my side. 由于issnode.yml不是javascript脚本,而是iisnode的配置文件,因此会发出咕gr声,并抛出异常。 But I haven't reproduced your issue. 但我没有转载您的问题。

So if it is convenient of you to provide your project repo or the complete gruntfile content, it will be a great helpful for us to reproduce your issue. 因此,如果您方便提供项目回购或完整的gruntfile内容,对我们重现您的问题将大有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM