Webpack不能在linux上编译

时间:2017-04-06 06:33:48

标签: javascript node.js linux webpack

我在Windows上开发了一个程序 它成功编译并立即运行

但是,当我想将它部署到我的linux服务器时,我会遇到一些错误:

enter image description here

这个问题很奇怪,你能帮忙吗?

我的webpack.config.js

    List<string> fromTable = new List<string>();  


    for (int j = 1; j <= records_in_page.Count; j++)
    {
    string firstName = driver.FindElement(By.XPath(".//*
    [@id = 'injectview'] / div / div / div / table[1] / tbody[" + (j + 1) + 
    "]/tr/td[1]")).Text
    fromTable.Add(firstName)
    }

    public bool  Comparer(List<string> fromTabel, List<string> fromDb)
    {
        bool equals = false;
        if(fromDb.Count().Equals(fromTabel.Count()))
        {
              foreach (var name in fromDb)
              {
                equals = fromTabel.Any(n => n == name);
                if(equals == false)
                  return equals;
              }

        return equals;
        }
    }

0 个答案:

没有答案