zoukankan      html  css  js  c++  java
  • 运行dora+atool老项目遇到的问题

    node需要12.x LTS版本
    cnpm install

    碰到


    Warning: Accessing non-existent property xxxx of module exports inside circular dependency
    大意是说 : 在依赖循环查找的过程中,使用了一个没有被模块导出的属性 (我这里是 VERSION)

    后来切换到 node12.x+ cnpm环境就没有了

    Package require os(darwin) not compatible with your platform(win32)

    运行 cnpm rebuild node-sass
    cnpm install
    这是一个可以忽略的错误

    Callback must be a function. Received undefined

    找相关代码 把参数传个空的匿名函数进去 function(){}

    (我这里是 . ode_modulesdora-anyproxylib ecorder.js, 搜索 writeFile相关代码,加入function(){} 参数)。

    ---------------总结
    dora很久没有维护的库了,作者在文档上推荐了 roadhog代替。可以考虑升级到 roadhog。

  • 相关阅读:
    网络通信
    jvm调优
    rokectMq
    mybatis属性类
    spring cloud feign
    spring cloud hystrix
    spring cloud ribbon
    mybatis(二)创建代理类执行sql
    内存操作函数
    堆空间的开辟与使用
  • 原文地址:https://www.cnblogs.com/chengyunshen/p/12968337.html
Copyright © 2011-2022 走看看