美文网首页
ionic cordova resources报错

ionic cordova resources报错

作者: SuperCoderMan | 来源:发表于2020-01-17 13:04 被阅读0次

    当发生类似下面的错误的时候:

    [cordova-res] The module '/usr/local/lib/node_modules/cordova-res/node_modules/sharp/build/Release/sharp.node'
    [cordova-res] was compiled against a different Node.js version using
    [cordova-res] NODE_MODULE_VERSION 57. This version of Node.js requires
    [cordova-res] NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
    

    执行:
    npm remove cordova-res
    npm install cordova-res

    相关文章

      网友评论

          本文标题:ionic cordova resources报错

          本文链接:https://www.haomeiwen.com/subject/rauczctx.html