报错信息:WARNING: The callback-based version of packager() is deprecated and will be removed in a future major version, please convert to the Promise version or use the nodeify module.
查了资料没查不到啥,请问有人遇到过吗,用的electron-vue
报错信息:WARNING: The callback-based version of packager() is deprecated and will be removed in a future major version, please convert to the Promise version or use the nodeify module.
查了资料没查不到啥,请问有人遇到过吗,用的electron-vue
2 回答1.2k 阅读
1 回答567 阅读✓ 已解决
1 回答867 阅读
2 回答920 阅读
1 回答919 阅读
1 回答722 阅读
712 阅读
这不是报错,这就是个警告。
你用的 electron-packager 打包的吧?这个警告的字面意思就是说使用其回调函数方式的调用已经要被废弃了,应该使用其 Promise 形式。
electron-vue 还没适配更新 packager 版本,你忽略它就行。如果就是看它不爽,换 electron-builder 打包吧。
如果你是不能正常打包,或打包后程序不能正常运行,那跟这条警告无关。